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 7a69761 commit 6a48d64Copy full SHA for 6a48d64
spec/unit/provider/package/openbsd_spec.rb
@@ -18,6 +18,7 @@
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")
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')
24
allow(described_class).to receive(:command).with(:pkgdelete).and_return('/usr/sbin/pkg_delete')
0 commit comments