We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5a7f1c commit 390ef37Copy full SHA for 390ef37
spec/unit/provider/package/xbps_spec.rb
@@ -20,8 +20,8 @@
20
it { is_expected.to be_holdable }
21
it { is_expected.to be_virtual_packages }
22
23
- it "should be the default provider on :operatingsystem => Void" do
24
- 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")
25
expect(described_class.default?).to be_truthy
26
end
27
0 commit comments