@@ -126,7 +126,7 class ChangesetTest < ActiveSupport::TestCase | |||||
126 | assert Issue.find(1).closed? |
|
126 | assert Issue.find(1).closed? | |
127 | assert Issue.find(2).closed? |
|
127 | assert Issue.find(2).closed? | |
128 |
|
128 | |||
129 |
times = TimeEntry. |
|
129 | times = TimeEntry.order('id desc').limit(2) | |
130 | assert_equal [1, 2], times.collect(&:issue_id).sort |
|
130 | assert_equal [1, 2], times.collect(&:issue_id).sort | |
131 | end |
|
131 | end | |
132 |
|
132 |
General Comments 0
You need to be logged in to leave comments.
Login now