@@ -775,7 +775,7 class IssuesControllerTest < ActionController::TestCase | |||
|
775 | 775 | put :update, |
|
776 | 776 | :id => 1, |
|
777 | 777 | :notes => '2.5 hours added', |
|
778 | :time_entry => { :hours => '2.5', :comments => 'test_put_update_with_note_and_spent_time', :activity_id => TimeEntryActivity.first } | |
|
778 | :time_entry => { :hours => '2.5', :comments => 'test_put_update_with_note_and_spent_time', :activity_id => TimeEntryActivity.first.id } | |
|
779 | 779 | end |
|
780 | 780 | assert_redirected_to :action => 'show', :id => '1' |
|
781 | 781 |
@@ -70,7 +70,7 class IssuesControllerTransactionTest < ActionController::TestCase | |||
|
70 | 70 | }, |
|
71 | 71 | :notes => '', |
|
72 | 72 | :attachments => {'1' => {'file' => uploaded_test_file('testfile.txt', 'text/plain')}}, |
|
73 | :time_entry => { :hours => '2.5', :comments => '', :activity_id => TimeEntryActivity.first } | |
|
73 | :time_entry => { :hours => '2.5', :comments => '', :activity_id => TimeEntryActivity.first.id } | |
|
74 | 74 | end |
|
75 | 75 | end |
|
76 | 76 | end |
General Comments 0
You need to be logged in to leave comments.
Login now