diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-10 05:46:15 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-10 05:46:15 +0000 |
commit | 57740505b0ff7bb48cf1144aa4883be9c6922a63 (patch) | |
tree | 92b097d598918ea8905ec35010c6c6b53064d8d7 /test | |
parent | 56a3c1ad40e7d4f2b7d65ce0ffe7110069cffd60 (diff) | |
download | redmine-57740505b0ff7bb48cf1144aa4883be9c6922a63.tar.gz redmine-57740505b0ff7bb48cf1144aa4883be9c6922a63.zip |
remove unneeded Relation#all from IssuesControllerTest#test_bulk_copy_to_another_project
git-svn-id: http://svn.redmine.org/redmine/trunk@12589 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/issues_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index d88d678f8..8fa45fe7a 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -3686,7 +3686,7 @@ class IssuesControllerTest < ActionController::TestCase end assert_redirected_to '/projects/ecookbook/issues' - copies = Issue.all(:order => 'id DESC', :limit => issues.size) + copies = Issue.order('id DESC').limit(issues.size) copies.each do |copy| assert_equal 2, copy.project_id end |