diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-22 12:45:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-22 12:45:13 +0000 |
commit | 2e3bf71e9ad344e2e49c216cc080d13da37e4a96 (patch) | |
tree | af0c9f5d0c8fe61c53d5f1d87fa4fc3c61a9b3aa /test/unit/query_test.rb | |
parent | 95f9246a46de372980a80582d72d46d4e618b3b3 (diff) | |
download | redmine-2e3bf71e9ad344e2e49c216cc080d13da37e4a96.tar.gz redmine-2e3bf71e9ad344e2e49c216cc080d13da37e4a96.zip |
Removed #generate_with_protected helper methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9471 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/query_test.rb')
-rw-r--r-- | test/unit/query_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index a516c7a98..8a39d09a1 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -769,8 +769,8 @@ class QueryTest < ActiveSupport::TestCase end should "include users of subprojects" do - user1 = User.generate_with_protected! - user2 = User.generate_with_protected! + user1 = User.generate! + user2 = User.generate! project = Project.find(1) Member.create!(:principal => user1, :project => project.children.visible.first, :role_ids => [1]) @query.project = project |