Move settings map inside the form
That's what we usually do, and it makes sense since clicking on the map changes the content of hidden fields in the form.
This commit is contained in:
@@ -92,8 +92,9 @@ describe "Admin settings", :admin do
|
||||
|
||||
visit admin_settings_path
|
||||
click_link "Map configuration"
|
||||
find("#admin-map").click
|
||||
|
||||
within "#map-form" do
|
||||
find("#admin-map").click
|
||||
click_button "Update"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user