]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/issues_test.rb
Exclude most views from string literal checks
[rails.git] / test / system / issues_test.rb
index 138de272168e1289c52297b0648b43934b9e0019..f2421599f9fc657f72aba5b90871623ef3f0e10c 100644 (file)
@@ -12,7 +12,7 @@ class IssuesTest < ApplicationSystemTestCase
     sign_in_as(create(:user))
 
     visit issues_path
-    assert page.has_content?(I18n.t("application.require_moderator_or_admin.not_a_moderator_or_admin"))
+    assert page.has_content?("Forbidden")
   end
 
   def test_view_no_issues