summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit/issue_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb
index edf2ca529..7fed1dcc4 100644
--- a/test/unit/issue_test.rb
+++ b/test/unit/issue_test.rb
@@ -98,7 +98,9 @@ class IssueTest < ActiveSupport::TestCase
def test_visible_scope_for_anonymous_with_own_issues_visibility
Role.anonymous.update_attribute :issues_visibility, 'own'
- Issue.create!(:project_id => 1, :tracker_id => 1, :author_id => User.anonymous.id, :subject => 'Issue by anonymous')
+ Issue.create!(:project_id => 1, :tracker_id => 1,
+ :author_id => User.anonymous.id,
+ :subject => 'Issue by anonymous')
issues = Issue.visible(User.anonymous).all
assert issues.any?