summaryrefslogtreecommitdiff
path: root/chef/spec/unit/client_spec.rb
diff options
context:
space:
mode:
authorAdam Jacob <adam@opscode.com>2010-04-17 17:21:56 -0700
committerAdam Jacob <adam@opscode.com>2010-04-17 17:21:56 -0700
commit40a3d557baaa12c2461068ef4eaf22157cdc9cf8 (patch)
treeedbe9a42c36fd4ce74c3a45e0f3755885a28a57c /chef/spec/unit/client_spec.rb
parent2b78636cdfa486e59698ca4044b77673a061e502 (diff)
downloadchef-40a3d557baaa12c2461068ef4eaf22157cdc9cf8.tar.gz
Fixing the keys method to include auto_attrs
Diffstat (limited to 'chef/spec/unit/client_spec.rb')
-rw-r--r--chef/spec/unit/client_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/chef/spec/unit/client_spec.rb b/chef/spec/unit/client_spec.rb
index 8fb0e5caf6..37410c2f32 100644
--- a/chef/spec/unit/client_spec.rb
+++ b/chef/spec/unit/client_spec.rb
@@ -127,6 +127,7 @@ describe Chef::Client, "build_node" do
:hostname => "foo"
}
@mock_ohai.stub!(:refresh_plugins).and_return(true)
+ @mock_ohai.stub!(:data).and_return(@mock_ohai)
Ohai::System.stub!(:new).and_return(@mock_ohai)
@node = Chef::Node.new
@mock_rest.stub!(:get_rest).and_return(@node)