]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/confirmation_resend_test.rb
Change provider name to "microsoft"
[rails.git] / test / system / confirmation_resend_test.rb
index 6bbde09e0a2dfd86dc5a084245a8d269d30bc498..f615a6321d55caee39e93079f6c5da1102e53e39 100644 (file)
@@ -20,7 +20,7 @@ class ConfirmationResendSystemTest < ApplicationSystemTestCase
   test "flash message should not contain raw html" do
     visit user_confirm_resend_path(@user)
 
-    assert page.has_content?("sent a new confirmation")
-    assert_not page.has_content?("<p>")
+    assert_content "sent a new confirmation"
+    assert_no_content "<p>"
   end
 end