remove unneeded Relation#all from ChangesetTest#test_ref_keywords_closing_with_timelog

git-svn-id: http://svn.redmine.org/redmine/trunk@12539 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-01-09 00:04:56 +00:00
parent ac214f5480
commit d9624990e0
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class ChangesetTest < ActiveSupport::TestCase
assert Issue.find(1).closed?
assert Issue.find(2).closed?
times = TimeEntry.all(:order => 'id desc', :limit => 2)
times = TimeEntry.order('id desc').limit(2)
assert_equal [1, 2], times.collect(&:issue_id).sort
end