Create a more accurate permissions check message
[rails.git] / test / system / issues_test.rb
index da9c5f6c8be7341ef85755e0a19a08c84b4c2747..05344b7a4706e1992d74459f5c996d5a744e6acb 100644 (file)
@@ -7,7 +7,7 @@ class IssuesTest < ApplicationSystemTestCase
     sign_in_as(create(:user))
 
     visit issues_path
-    assert page.has_content?(I18n.t("application.require_admin.not_an_admin"))
+    assert page.has_content?(I18n.t("application.require_moderator_or_admin.not_a_moderator_or_admin"))
   end
 
   def test_view_no_issues