diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-10 04:45:28 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-10 04:45:28 +0000 |
commit | c1c1b548d071e98dd2ecb92f996d4a87cc02d36b (patch) | |
tree | 8452b504c65f272d804cec30120d52509ec4fe17 | |
parent | 3fcd5d529cfed1cd52ac69942b4603e121501c2f (diff) | |
download | redmine-c1c1b548d071e98dd2ecb92f996d4a87cc02d36b.tar.gz redmine-c1c1b548d071e98dd2ecb92f996d4a87cc02d36b.zip |
remove unneeded Relation#all from IssuesControllerTest#test_bulk_copy_should_allow_not_changing_the_issue_attributes
git-svn-id: http://svn.redmine.org/redmine/trunk@12586 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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 ed7985a1e..d88d678f8 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -3710,7 +3710,7 @@ class IssuesControllerTest < ActionController::TestCase } end - copies = Issue.all(:order => 'id DESC', :limit => issues.size) + copies = Issue.order('id DESC').limit(issues.size) issues.each do |orig| copy = copies.detect {|c| c.subject == orig.subject} assert_not_nil copy |