update test

This commit is contained in:
Bevan Kay 2022-12-19 14:35:31 +11:00
parent 1ddd130ef9
commit 01f865f93a
No known key found for this signature in database
GPG Key ID: C55CB024B5314B57

View File

@ -66,7 +66,7 @@ shared_examples "#uninstall_phase or #zap_phase" do
let(:launchctl_list_cmd) { %w[/bin/launchctl list] }
it "searches running launchctl items" do
allow(fake_system_command).to receive(:run)
expect(fake_system_command).to receive(:run)
.with("/bin/launchctl", args: ["list"], print_stderr: false, sudo: false)
.and_return(instance_double(SystemCommand::Result))