X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..2c497aee7a45c31ae6d1a448c35ce1b3f0ebb608:/test/controllers/preferences_controller_test.rb?ds=sidebyside 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"