From 60dc5db27b2956b8314c4ab91dc97d0c9256b64e Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Fri, 18 Oct 2024 12:50:38 +0200 Subject: [PATCH] fix tests --- spec/hook_context_extension_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/hook_context_extension_spec.rb b/spec/hook_context_extension_spec.rb index 9116430d..6438e7e9 100644 --- a/spec/hook_context_extension_spec.rb +++ b/spec/hook_context_extension_spec.rb @@ -153,7 +153,7 @@ it 'executes a command' do expect(subject).to be_nil - expect(context).to have_received(:execute_command).with(command, true, true) + expect(context).to have_received(:execute_command).with(command, true, true, {}) end end @@ -168,7 +168,7 @@ it 'executes a command' do expect(subject).to be_nil - expect(context).to have_received(:execute!).with("runuser -l postgres -c 'uptime'", true, true) + expect(context).to have_received(:execute!).with("runuser -l postgres -c 'uptime'", true, true, {}) end end end