X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2403630da87df8a3b57913e8949ae0ff8f611d22..934d81aa551c791e0200f3be06b1e97de23c008e:/test/controllers/preferences_controller_test.rb 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"