##// END OF EJS Templates
Fixes some parameters in functional tests....
Jean-Philippe Lang -
r3587:3db77a86a96b
parent child
Show More
@@ -775,7 +775,7 class IssuesControllerTest < ActionController::TestCase
775 put :update,
775 put :update,
776 :id => 1,
776 :id => 1,
777 :notes => '2.5 hours added',
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 end
779 end
780 assert_redirected_to :action => 'show', :id => '1'
780 assert_redirected_to :action => 'show', :id => '1'
781
781
@@ -70,7 +70,7 class IssuesControllerTransactionTest < ActionController::TestCase
70 },
70 },
71 :notes => '',
71 :notes => '',
72 :attachments => {'1' => {'file' => uploaded_test_file('testfile.txt', 'text/plain')}},
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 end
74 end
75 end
75 end
76 end
76 end
General Comments 0
You need to be logged in to leave comments. Login now