Skip to content

Commit 9d1ba7e

Browse files
committed
yuck
1 parent d2b2d80 commit 9d1ba7e

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
@@ -12,7 +12,7 @@
1212
it { is_expected.to be_uninstall_options }
1313
end
1414

15-
before (:each) do
15+
before :each do
1616
# Stub some provider methods to avoid needing the actual software
1717
# installed, so we can test on whatever platform we want.
1818
allow(described_class).to receive(:command).with(:pkginfo).and_return('/bin/pkg_info')
@@ -24,7 +24,7 @@
2424

2525
context "#instances" do
2626
it "should return nil if execution failed" do
27-
expect(described_class).to receive(:execpipe).and_raise(Puppet::ExecutionFailure, 'wawawa')
27+
expect(described_class).to receive(:pkgadd).and_raise(Puppet::ExecutionFailure, 'wawawa')
2828
expect(described_class.instances).to be_nil
2929
end
3030

0 commit comments

Comments
 (0)