diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 12:24:29 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 12:24:29 +0000 |
commit | 9f7690873a9e2297bb04979e6659956f6cde072f (patch) | |
tree | 06b4ee3b5fc787c8537bbf34afe0c996f61c3224 /test | |
parent | 925e11ed16acc391f2f868ae229a2289c056a94b (diff) | |
download | redmine-9f7690873a9e2297bb04979e6659956f6cde072f.tar.gz redmine-9f7690873a9e2297bb04979e6659956f6cde072f.zip |
code layout clean up of test_visible_scope_for_anonymous_with_own_issues_visibility at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7606 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/issue_test.rb | 4 |
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? |