lib/resttestrail/client.rb in resttestrail-0.0.4 vs lib/resttestrail/client.rb in resttestrail-0.0.5

- old
+ new

@@ -31,11 +31,11 @@ def delete_run(run_id) request = Resttestrail::Requests.delete_run(run_id) Resttestrail::Client.response(@net_http.request(request)) end - def add_result_for_case(run_id, test_case_id, status, elapsed_time_secs, exception=nil) - request = Resttestrail::Requests.add_result_for_case(run_id, test_case_id, status, elapsed_time_secs, exception) + def add_result_for_case(run_id, test_case_id, status, elapsed_time_secs, comment=nil, defects=nil) + request = Resttestrail::Requests.add_result_for_case(run_id, test_case_id, status, elapsed_time_secs, comment, defects) http_response = Resttestrail::Client.response(@net_http.request(request)) http_response[:body]["id"] end def self.close_run(run_id)