mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-26 17:17:14 +00:00
remove empty lines including white space from test/unit/user_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16162 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
84b880e1aa
commit
a1c37e7d6c
@ -875,7 +875,6 @@ class UserTest < ActiveSupport::TestCase
|
||||
|
||||
def test_roles_for_project_with_non_member_with_private_project_should_return_no_roles
|
||||
Project.find(1).update_attribute :is_public, false
|
||||
|
||||
roles = User.find(8).roles_for_project(Project.find(1))
|
||||
assert_equal [], roles.map(&:name)
|
||||
end
|
||||
@ -903,7 +902,6 @@ class UserTest < ActiveSupport::TestCase
|
||||
|
||||
def test_roles_for_project_with_anonymous_with_private_project_should_return_no_roles
|
||||
Project.find(1).update_attribute :is_public, false
|
||||
|
||||
roles = User.anonymous.roles_for_project(Project.find(1))
|
||||
assert_equal [], roles.map(&:name)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user