Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Oct 18, 2024
1 parent df09816 commit 60dc5db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/hook_context_extension_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 60dc5db

Please sign in to comment.