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