##// END OF EJS Templates
remove empty lines including white space from test/unit/user_test.rb...
Toshi MARUYAMA -
r15780:a1c37e7d6cd5
parent child
Show More
@@ -875,7 +875,6 class UserTest < ActiveSupport::TestCase
875 875
876 876 def test_roles_for_project_with_non_member_with_private_project_should_return_no_roles
877 877 Project.find(1).update_attribute :is_public, false
878
879 878 roles = User.find(8).roles_for_project(Project.find(1))
880 879 assert_equal [], roles.map(&:name)
881 880 end
@@ -903,7 +902,6 class UserTest < ActiveSupport::TestCase
903 902
904 903 def test_roles_for_project_with_anonymous_with_private_project_should_return_no_roles
905 904 Project.find(1).update_attribute :is_public, false
906
907 905 roles = User.anonymous.roles_for_project(Project.find(1))
908 906 assert_equal [], roles.map(&:name)
909 907 end
General Comments 0
You need to be logged in to leave comments. Login now