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
This commit is contained in:
parent
56a3c1ad40
commit
57740505b0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue