diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-11-09 16:47:40 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-11-09 16:47:40 +0000 |
commit | 303fdc2913690a2b83b8e0cb33c9407fa08b66e4 (patch) | |
tree | 0cb3cf7ee89b38be604dfb8c4b78a2404c437959 /test | |
parent | b96941763dc0e91a90d0e154630636fbf87ff30b (diff) | |
download | redmine-303fdc2913690a2b83b8e0cb33c9407fa08b66e4.tar.gz redmine-303fdc2913690a2b83b8e0cb33c9407fa08b66e4.zip |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/project_members_inheritance_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/project_members_inheritance_test.rb b/test/unit/project_members_inheritance_test.rb index 92cc19f46..e2f0e075c 100644 --- a/test/unit/project_members_inheritance_test.rb +++ b/test/unit/project_members_inheritance_test.rb @@ -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 |