Skip to content

Commit 390ef37

Browse files
committed
(fixup) fix tests
1 parent a5a7f1c commit 390ef37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/unit/provider/package/xbps_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
it { is_expected.to be_holdable }
2121
it { is_expected.to be_virtual_packages }
2222

23-
it "should be the default provider on :operatingsystem => Void" do
24-
expect(Facter).to receive(:value).with(:operatingsystem).and_return("Void")
23+
it "should be the default provider on 'os.name' => Void" do
24+
expect(Facter).to receive(:value).with('os.name').and_return("Void")
2525
expect(described_class.default?).to be_truthy
2626
end
2727

0 commit comments

Comments
 (0)