Skip to content

Commit

Permalink
(maint) Unit test fix for puppet 3
Browse files Browse the repository at this point in the history
See link for more details: rspec/rspec-mocks#1460
  • Loading branch information
david22swan committed Apr 18, 2023
1 parent 124897a commit 1a7d4fe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spec/unit/puppet/provider/java_ks/keytool_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,7 @@
else
Puppet::Util
end
expect(exec_class).to receive(:execute).with(
cmd,
failonfail: true,
combine: true,
)
expect(exec_class).to receive(:execute).with(cmd, { failonfail: true, combine: true })
provider.run_command(cmd)
end

Expand Down

0 comments on commit 1a7d4fe

Please sign in to comment.