GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit 38eea151 authored by marutosijp's avatar marutosijp

remove trailing white-spaces from test/unit/project_members_inheritance_test.rb

git-svn-id: https://svn.redmine.org/redmine/trunk@12255 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 96ae9250
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment