Skip to content

Commit fd5f36b

Browse files
committed
test
1 parent 33ebd9c commit fd5f36b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/unit/provider/package/openbsd_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
before :each do
1818
# Stub some provider methods to avoid needing the actual software
1919
# installed, so we can test on whatever platform we want.
20-
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")
20+
#allow(Puppet::Util).to receive(:which).with("pkg_info").and_return("/usr/sbin/pkg_info")
21+
allow(described_class).to receive(:yalla).with("pkg_info").and_return("/usr/sbin/pkg_info")
2222
allow(described_class).to receive(:command).with(:pkginfo).and_return('/usr/sbin/pkg_info')
2323
allow(described_class).to receive(:command).with(:pkgadd).and_return('/usr/sbin/pkg_add')
2424
allow(described_class).to receive(:command).with(:pkgdelete).and_return('/usr/sbin/pkg_delete')

0 commit comments

Comments
 (0)