]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_creation_test.rb
Rename form-row to standard-form-row to avoid clashing with a bootstrap class
[rails.git] / test / integration / user_creation_test.rb
index a353245161013b4dc83ad067c74a23e49d700247..b825990b8153293809393ce0c17384fdf2b33837 100644 (file)
@@ -51,7 +51,7 @@ class UserCreationTest < ActionDispatch::IntegrationTest
       assert_response :success
       assert_template "users/new"
       assert_equal locale.to_s, response.headers["Content-Language"] unless locale == :root
-      assert_select "form > fieldset > div.form-row > input.field_with_errors#user_email"
+      assert_select "form > fieldset > div.standard-form-row > input.field_with_errors#user_email"
       assert_no_missing_translations
     end
   end
@@ -75,7 +75,7 @@ class UserCreationTest < ActionDispatch::IntegrationTest
       end
       assert_response :success
       assert_template "users/new"
-      assert_select "form > fieldset > div.form-row > input.field_with_errors#user_display_name"
+      assert_select "form > fieldset > div.standard-form-row > input.field_with_errors#user_display_name"
       assert_no_missing_translations
     end
   end