]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/issues_test.rb
Localisation updates from https://translatewiki.net.
[rails.git] / test / system / issues_test.rb
index 9aee867a9c498353b9b868236f3be363feb54265..f2421599f9fc657f72aba5b90871623ef3f0e10c 100644 (file)
@@ -5,14 +5,14 @@ class IssuesTest < ApplicationSystemTestCase
 
   def test_view_issues_not_logged_in
     visit issues_path
-    assert page.has_content?(I18n.t("user.login.title"))
+    assert page.has_content?(I18n.t("users.login.title"))
   end
 
   def test_view_issues_normal_user
     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