summaryrefslogtreecommitdiff
path: root/test/integration/browser/account_livecycle_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/browser/account_livecycle_test.rb')
-rw-r--r--test/integration/browser/account_livecycle_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/integration/browser/account_livecycle_test.rb b/test/integration/browser/account_livecycle_test.rb
index 694ff9c..cfab444 100644
--- a/test/integration/browser/account_livecycle_test.rb
+++ b/test/integration/browser/account_livecycle_test.rb
@@ -2,6 +2,8 @@ require 'test_helper'
class AccountLivecycleTest < BrowserIntegrationTest
+ include ActionView::Helpers::SanitizeHelper
+
teardown do
Identity.destroy_all_orphaned
end
@@ -115,7 +117,7 @@ class AccountLivecycleTest < BrowserIntegrationTest
def assert_invalid_login(page)
assert page.has_selector? '.btn-primary.disabled'
- assert page.has_content? I18n.t(:invalid_user_pass)
+ assert page.has_content? sanitize(I18n.t(:invalid_user_pass), tags: [])
assert page.has_no_selector? '.btn-primary.disabled'
end