]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_creation_test.rb
Bootstrap 5: Replace all form-group classes with mb-3
[rails.git] / test / integration / user_creation_test.rb
index 9343487f6d6c5f7c78d18f4ae276f35923e6ed36..7163e1b72974e19233da1e2811427fbd2d71e488 100644 (file)
@@ -51,7 +51,7 @@ class UserCreationTest < ActionDispatch::IntegrationTest
         assert_template "users/new"
         assert_equal locale.to_s, response.headers["Content-Language"]
         assert_select "form"
-        assert_select "form > div.form-group > input.is-invalid#user_email"
+        assert_select "form > div > input.is-invalid#user_email"
         assert_no_missing_translations
       end
     end
@@ -77,7 +77,7 @@ class UserCreationTest < ActionDispatch::IntegrationTest
         end
         assert_response :success
         assert_template "users/new"
-        assert_select "form > div.form-group > input.is-invalid#user_display_name"
+        assert_select "form > div > input.is-invalid#user_display_name"
         assert_no_missing_translations
       end
     end