We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 348ad17 commit 33ebd9cCopy full SHA for 33ebd9c
spec/unit/provider/package/openbsd_spec.rb
@@ -17,7 +17,7 @@
17
before :each do
18
# Stub some provider methods to avoid needing the actual software
19
# installed, so we can test on whatever platform we want.
20
- allow(Puppet::Util).to receive(:which).with("pkg_info").and_return("/usr/sbin/pkg_info")
+ allow(Puppet::Util).to receive(:pkginfo).with("pkg_info").and_return("/usr/sbin/pkg_info")
21
allow(described_class).to receive(:which).with("pkg_info").and_return("/usr/sbin/pkg_info")
22
allow(described_class).to receive(:command).with(:pkginfo).and_return('/usr/sbin/pkg_info')
23
allow(described_class).to receive(:command).with(:pkgadd).and_return('/usr/sbin/pkg_add')
0 commit comments