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
This commit is contained in:
parent
3fcd5d529c
commit
c1c1b548d0
|
@ -3710,7 +3710,7 @@ class IssuesControllerTest < ActionController::TestCase
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
copies = Issue.all(:order => 'id DESC', :limit => issues.size)
|
copies = Issue.order('id DESC').limit(issues.size)
|
||||||
issues.each do |orig|
|
issues.each do |orig|
|
||||||
copy = copies.detect {|c| c.subject == orig.subject}
|
copy = copies.detect {|c| c.subject == orig.subject}
|
||||||
assert_not_nil copy
|
assert_not_nil copy
|
||||||
|
|
Loading…
Reference in New Issue