##// END OF EJS Templates
remove unneeded Relation#all from IssuesControllerTest#test_bulk_copy_should_allow_not_changing_the_issue_attributes...
Toshi MARUYAMA -
r12311:c1c1b548d071
parent child
Show More
@@ -3710,7 +3710,7 class IssuesControllerTest < ActionController::TestCase
3710 3710 }
3711 3711 end
3712 3712
3713 copies = Issue.all(:order => 'id DESC', :limit => issues.size)
3713 copies = Issue.order('id DESC').limit(issues.size)
3714 3714 issues.each do |orig|
3715 3715 copy = copies.detect {|c| c.subject == orig.subject}
3716 3716 assert_not_nil copy
General Comments 0
You need to be logged in to leave comments. Login now