diff --git a/lib/zephyr_ruby/resource/automations.rb b/lib/zephyr_ruby/resource/automations.rb index b80a76b..8c9c90b 100644 --- a/lib/zephyr_ruby/resource/automations.rb +++ b/lib/zephyr_ruby/resource/automations.rb @@ -5,16 +5,16 @@ class Client module Resource # Operations related to Automations module Automations - def create_automation_custom(body) - post '/automations/executions/custom', body + def create_automation_custom(body, file_path = nil) + post '/automations/executions/custom', body, file_path end - def create_automation_cucumber(body) - post '/automations/executions/cucumber', body + def create_automation_cucumber(body, file_path = nil) + post '/automations/executions/cucumber', body, file_path end - def create_automation_junit(body) - post '/automations/executions/junit', body + def create_automation_junit(body, file_path = nil) + post '/automations/executions/junit', body, file_path end def get_zip_file(params = {}) diff --git a/lib/zephyr_ruby/resource/test_executions.rb b/lib/zephyr_ruby/resource/test_executions.rb index d71d3a3..8bc3670 100644 --- a/lib/zephyr_ruby/resource/test_executions.rb +++ b/lib/zephyr_ruby/resource/test_executions.rb @@ -41,10 +41,6 @@ def sync_test_execution(test_execution_id) post "/testexecutions/#{test_execution_id}/teststeps/sync" end - def get_test_execution_links(test_execution_id) - get "/testexecutions/#{test_execution_id}/links" - end - def create_test_execution_issue_link(test_execution_id, body) post "/testexecutions/#{test_execution_id}/links/issues", body end