diff options
Diffstat (limited to 'spec/unit/plugins/windows/system_enclosure_spec.rb')
-rw-r--r-- | spec/unit/plugins/windows/system_enclosure_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/plugins/windows/system_enclosure_spec.rb b/spec/unit/plugins/windows/system_enclosure_spec.rb index 5051c8c0..0e1bbc93 100644 --- a/spec/unit/plugins/windows/system_enclosure_spec.rb +++ b/spec/unit/plugins/windows/system_enclosure_spec.rb @@ -33,12 +33,12 @@ describe Ohai::System, "System Enclosure", :windows_only do expect_any_instance_of(WmiLite::Wmi).to receive(:first_of).with(("Win32_SystemEnclosure")).and_return(wmi_object) end - it "should return the manufacturer" do + it "returns the manufacturer" do @plugin.run expect(@plugin["system_enclosure"]["manufacturer"]).to eql("My Fake Manufacturer") end - it "should return a serial number" do + it "returns a serial number" do @plugin.run expect(@plugin["system_enclosure"]["serialnumber"]).to eql("1234123412341234") end |