X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f1935b1c5786de8f27bee9b6b2da2f28f650468f..e443d99edd9c9b68d6c0fa41b028bb9a5cdb07c5:/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"