summaryrefslogtreecommitdiff
path: root/spec/unit/shell/shell_ext_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/shell/shell_ext_spec.rb')
-rw-r--r--spec/unit/shell/shell_ext_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/shell/shell_ext_spec.rb b/spec/unit/shell/shell_ext_spec.rb
index a418eba217..0afa1f6390 100644
--- a/spec/unit/shell/shell_ext_spec.rb
+++ b/spec/unit/shell/shell_ext_spec.rb
@@ -92,9 +92,9 @@ describe Shell::Extensions do
end
it "prints node attributes" do
- node = double("node", :attribute => {:foo => :bar})
+ node = double("node", :attribute => { :foo => :bar })
@shell_client.node = node
- expect(@root_context).to receive(:pp).with({:foo => :bar})
+ expect(@root_context).to receive(:pp).with({ :foo => :bar })
@root_context.ohai
expect(@root_context).to receive(:pp).with(:bar)
@root_context.ohai(:foo)