]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/preferences_controller_test.rb
Move more api-related helper methods to ApiController
[rails.git] / test / controllers / preferences_controller_test.rb
index 8c529e62a009f3ecb44af280282a5181a876c487..6bc609e6abca77dc4cdebe680e0da53d12171df0 100644 (file)
@@ -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"