Skip to content

Commit 6a48d64

Browse files
committed
yuck
1 parent 7a69761 commit 6a48d64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/unit/provider/package/openbsd_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# Stub some provider methods to avoid needing the actual software
1919
# installed, so we can test on whatever platform we want.
2020
#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")
2122
allow(described_class).to receive(:command).with(:pkginfo).and_return('/usr/sbin/pkg_info')
2223
allow(described_class).to receive(:command).with(:pkgadd).and_return('/usr/sbin/pkg_add')
2324
allow(described_class).to receive(:command).with(:pkgdelete).and_return('/usr/sbin/pkg_delete')

0 commit comments

Comments
 (0)