X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2403630da87df8a3b57913e8949ae0ff8f611d22..e28a8fd9920838eb0541af0cc1e251b1249309b2:/test/controllers/preferences_controller_test.rb?ds=inline diff --git a/test/controllers/preferences_controller_test.rb b/test/controllers/preferences_controller_test.rb index 8c529e62a..6bc609e6a 100644 --- a/test/controllers/preferences_controller_test.rb +++ b/test/controllers/preferences_controller_test.rb @@ -31,7 +31,7 @@ class PreferencesControllerTest < ActionDispatch::IntegrationTest assert_template :edit assert_select ".notice", false assert_select ".error", true - assert_select "form > div.form-group > select#user_preferred_editor > option[selected]", false + assert_select "form > div > select#user_preferred_editor > option[selected]", false # Changing to a valid editor should work user.preferred_editor = "id"