Add more tests
[rails.git] / test / system / issues_test.rb
index 05344b7a4706e1992d74459f5c996d5a744e6acb..20002917680d70da8ceb0ad3fb89bca48acba4bc 100644 (file)
@@ -3,6 +3,11 @@ require "application_system_test_case"
 class IssuesTest < ApplicationSystemTestCase
   include IssuesHelper
 
+  def test_view_issues_not_logged_in
+    visit issues_path
+    assert page.has_content?(I18n.t("user.login.title"))
+  end
+
   def test_view_issues_normal_user
     sign_in_as(create(:user))