diff options
Diffstat (limited to 'spec/unit/plugins/netbsd/kernel_spec.rb')
-rw-r--r-- | spec/unit/plugins/netbsd/kernel_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/plugins/netbsd/kernel_spec.rb b/spec/unit/plugins/netbsd/kernel_spec.rb index 5e74b68c..d6029d6d 100644 --- a/spec/unit/plugins/netbsd/kernel_spec.rb +++ b/spec/unit/plugins/netbsd/kernel_spec.rb @@ -19,7 +19,7 @@ require "spec_helper" describe Ohai::System, "NetBSD kernel plugin" do - before(:each) do + before do @plugin = get_plugin("kernel") allow(@plugin).to receive(:collect_os).and_return(:netbsd) allow(@plugin).to receive(:init_kernel).and_return({}) @@ -28,7 +28,7 @@ describe Ohai::System, "NetBSD kernel plugin" do allow(@plugin).to receive(:shell_out).with((Ohai.abs_path( "/usr/bin/modstat" )).to_s).and_return(mock_shell_out(0, " 1 7 0xc0400000 97f830 kernel", "")) end - it "should set the kernel_os to the kernel_name value" do + it "sets the kernel_os to the kernel_name value" do @plugin.run expect(@plugin[:kernel][:os]).to eq(@plugin[:kernel][:name]) end |