diff options
Diffstat (limited to 'spec/unit/plugins/darwin/memory_spec.rb')
-rw-r--r-- | spec/unit/plugins/darwin/memory_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/unit/plugins/darwin/memory_spec.rb b/spec/unit/plugins/darwin/memory_spec.rb index 07f6fa3e..1baf96d0 100644 --- a/spec/unit/plugins/darwin/memory_spec.rb +++ b/spec/unit/plugins/darwin/memory_spec.rb @@ -19,7 +19,7 @@ require "spec_helper" describe Ohai::System, "Darwin Memory Plugin" do - before(:each) do + before do darwin_memsize = <<~DARWIN_MEMSIZE 17179869184 DARWIN_MEMSIZE @@ -46,19 +46,19 @@ describe Ohai::System, "Darwin Memory Plugin" do @plugin.run end - it "should set memory[:total] to 16384MB" do + it "sets memory[:total] to 16384MB" do expect(@plugin[:memory][:total]).to eq("16384MB") end - it "should set memory[:active] to 5140MB" do + it "sets memory[:active] to 5140MB" do expect(@plugin[:memory][:active]).to eq("5140MB") end - it "should set memory[:inactive] to 738MB" do + it "sets memory[:inactive] to 738MB" do expect(@plugin[:memory][:inactive]).to eq("738MB") end - it "should set memory[:free] to 10504MB" do + it "sets memory[:free] to 10504MB" do expect(@plugin[:memory][:free]).to eq("10504MB") end end |