From 303fdc2913690a2b83b8e0cb33c9407fa08b66e4 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2013 16:47:40 +0000 Subject: [PATCH] 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 --- test/unit/project_members_inheritance_test.rb | 8 ++++---- 1 file 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 -- 2.39.5