Skip to content

Commit

Permalink
(fixup) fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Animeshz committed Nov 15, 2023
1 parent a5a7f1c commit 390ef37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/provider/package/xbps_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
it { is_expected.to be_holdable }
it { is_expected.to be_virtual_packages }

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

Expand Down

0 comments on commit 390ef37

Please sign in to comment.