X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4492e94a45ae5d140d12b4a086f7c85abfb7ee8e..cf462c15df14233e4ced9e1bad899c4a73903f37:/test/system/confirmation_resend_test.rb?ds=sidebyside diff --git a/test/system/confirmation_resend_test.rb b/test/system/confirmation_resend_test.rb index 6bbde09e0..f615a6321 100644 --- a/test/system/confirmation_resend_test.rb +++ b/test/system/confirmation_resend_test.rb @@ -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?("

") + assert_content "sent a new confirmation" + assert_no_content "

" end end