diff --git a/spec/runnable_context.rb b/spec/runnable_context.rb index 9e63f46e5..96f7ecc35 100644 --- a/spec/runnable_context.rb +++ b/spec/runnable_context.rb @@ -12,7 +12,7 @@ raise StandardError, "No suite id defined. Add `let(:suite_id) { 'your_suite_id' }` to the spec" end - def run(runnable, inputs = {}) + def run(runnable, inputs = {}, scratch = {}) test_run_params = { test_session_id: test_session.id }.merge(runnable.reference_hash) test_run = Inferno::Repositories::TestRuns.new.create(test_run_params) inputs.each do |original_name, value| @@ -25,7 +25,7 @@ def run(runnable, inputs = {}) ) end - Inferno::TestRunner.new(test_session:, test_run:).run(runnable) + Inferno::TestRunner.new(test_session:, test_run:).run(runnable, scratch) end # depth-first search looking for a runnable with a runtime id