diff options
Diffstat (limited to 'spec/unit/plugins/sysconf_spec.rb')
-rw-r--r-- | spec/unit/plugins/sysconf_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/plugins/sysconf_spec.rb b/spec/unit/plugins/sysconf_spec.rb index 8e979110..0df9f71c 100644 --- a/spec/unit/plugins/sysconf_spec.rb +++ b/spec/unit/plugins/sysconf_spec.rb @@ -21,7 +21,7 @@ require "spec_helper" describe Ohai::System, "sysconf plugin", :unix_only do let(:plugin) { get_plugin("sysconf") } - it "should populate sysconf if getconf is found" do + it "populates sysconf if getconf is found" do getconf_out = <<~GETCONF_OUT LINK_MAX 65000 _POSIX_LINK_MAX 65000 @@ -672,7 +672,7 @@ describe Ohai::System, "sysconf plugin", :unix_only do }) end - it "should not populate sysconf if getconf is not found" do + it "does not populate sysconf if getconf is not found" do allow(plugin).to receive(:which).with("getconf").and_return(false) plugin.run expect(plugin[:sysconf]).to be(nil) |