summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/aix/hostname_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/plugins/aix/hostname_spec.rb')
-rw-r--r--spec/unit/plugins/aix/hostname_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/plugins/aix/hostname_spec.rb b/spec/unit/plugins/aix/hostname_spec.rb
index 9600c956..0fcfcc5e 100644
--- a/spec/unit/plugins/aix/hostname_spec.rb
+++ b/spec/unit/plugins/aix/hostname_spec.rb
@@ -19,7 +19,7 @@
require "spec_helper"
describe Ohai::System, "AIX hostname plugin" do
- before(:each) do
+ before do
@plugin = get_plugin("hostname")
allow(@plugin).to receive(:collect_os).and_return(:aix)
allow(@plugin).to receive(:from_cmd).with("hostname -s").and_return("aix_admin")
@@ -27,7 +27,7 @@ describe Ohai::System, "AIX hostname plugin" do
@plugin.run
end
- it "should set the machinename" do
+ it "sets the machinename" do
expect(@plugin[:machinename]).to eql("aix_admin")
end
end