]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_creation_test.rb
Postgres is no longer starting
[rails.git] / test / integration / user_creation_test.rb
index 8b6b3ef3cd2fb19fda066c19ddeb89e5abcc1862..f331a4b98130fb2de48eec46d2b4c81ad8f9e552 100644 (file)
@@ -51,7 +51,8 @@ class UserCreationTest < ActionDispatch::IntegrationTest
       assert_response :success
       assert_template "users/new"
       assert_equal locale.to_s, response.headers["Content-Language"]
-      assert_select "form > fieldset > div.standard-form-row > input.field_with_errors#user_email"
+      assert_select "form"
+      assert_select "form > div.form-group > input.is-invalid#user_email"
       assert_no_missing_translations
     end
   end
@@ -75,7 +76,7 @@ class UserCreationTest < ActionDispatch::IntegrationTest
       end
       assert_response :success
       assert_template "users/new"
-      assert_select "form > fieldset > div.standard-form-row > input.field_with_errors#user_display_name"
+      assert_select "form > div.form-group > input.is-invalid#user_display_name"
       assert_no_missing_translations
     end
   end