mirror of
https://github.com/we-promise/sure.git
synced 2026-09-05 06:41:08 +00:00
Fix category merge form submission (#3225)
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
<%= render DS::Button.new(
|
||||
text: t(".submit"),
|
||||
type: :submit,
|
||||
full_width: true
|
||||
) %>
|
||||
<% end %>
|
||||
|
||||
@@ -172,6 +172,7 @@ class CategoriesControllerTest < ActionDispatch::IntegrationTest
|
||||
|
||||
assert_response :success
|
||||
assert_select "#mobile-settings-nav"
|
||||
assert_select "form[action='#{perform_merge_categories_path}'] button[type='submit']"
|
||||
end
|
||||
|
||||
test "merge renders without the settings layout for modal frame requests" do
|
||||
|
||||
Reference in New Issue
Block a user