diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-27 00:09:02 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-27 00:09:02 +0000 |
commit | e63029cee44d2692360ba4b99e91a05904b931e8 (patch) | |
tree | 146b7b9bd3d28e9f56921910811db54a982281af /test/unit/project_test.rb | |
parent | e746e5dd835ea628e417177d7408d925770353e4 (diff) | |
download | redmine-e63029cee44d2692360ba4b99e91a05904b931e8.tar.gz redmine-e63029cee44d2692360ba4b99e91a05904b931e8.zip |
remove unneeded Relation#all from ProjectTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12713 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/project_test.rb')
-rw-r--r-- | test/unit/project_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index db1fa2f8b..ad65e7e3d 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -584,7 +584,7 @@ class ProjectTest < ActiveSupport::TestCase assert_equal [1,2,3], parent.version_ids.sort assert_equal [4], child.version_ids assert_equal [6], private_child.version_ids - assert_equal [7], Version.where(:sharing => 'system').all.collect(&:id) + assert_equal [7], Version.where(:sharing => 'system').collect(&:id) assert_equal 6, parent.shared_versions.size parent.shared_versions.each do |version| |