@@ -224,7 +224,7 class TimelogControllerTest < ActionController::TestCase | |||
|
224 | 224 | end |
|
225 | 225 | |
|
226 | 226 | assert_redirected_to '/projects/ecookbook/time_entries' |
|
227 |
time_entry = TimeEntry. |
|
|
227 | time_entry = TimeEntry.order('id DESC').first | |
|
228 | 228 | assert_equal 1, time_entry.project_id |
|
229 | 229 | end |
|
230 | 230 |
General Comments 0
You need to be logged in to leave comments.
Login now