From a1c37e7d6cd58d97b119f27605ba92453205c7a4 2017-01-08 08:24:07 From: Toshi MARUYAMA Date: 2017-01-08 08:24:07 Subject: [PATCH] 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 --- diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index eb9df3c..ebc7d65 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -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