remove trailing white-spaces from test/unit/project_members_inheritance_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@12255 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b96941763d
commit
303fdc2913
|
@ -198,11 +198,11 @@ class ProjectMembersInheritanceTest < ActiveSupport::TestCase
|
|||
member = Member.create!(:principal => group, :project => @parent, :role_ids => [1, 3])
|
||||
project.reload
|
||||
member.reload
|
||||
|
||||
|
||||
inherited_group_member = project.memberships.detect {|m| m.principal == group}
|
||||
assert_not_nil inherited_group_member
|
||||
assert_equal member.roles.sort, inherited_group_member.roles.sort
|
||||
|
||||
|
||||
inherited_user_member = project.memberships.detect {|m| m.principal == user}
|
||||
assert_not_nil inherited_user_member
|
||||
assert_equal member.roles.sort, inherited_user_member.roles.sort
|
||||
|
@ -221,10 +221,10 @@ class ProjectMembersInheritanceTest < ActiveSupport::TestCase
|
|||
assert_difference 'MemberRole.count', -8 do
|
||||
member.destroy
|
||||
project.reload
|
||||
|
||||
|
||||
inherited_group_member = project.memberships.detect {|m| m.principal == group}
|
||||
assert_nil inherited_group_member
|
||||
|
||||
|
||||
inherited_user_member = project.memberships.detect {|m| m.principal == user}
|
||||
assert_nil inherited_user_member
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue