diff options
author | AJ Christensen <aj@junglist.gen.nz> | 2008-11-26 18:47:31 +1300 |
---|---|---|
committer | AJ Christensen <aj@junglist.gen.nz> | 2008-11-26 18:47:31 +1300 |
commit | b66dbb9ea24297f311da7601b31ac868c7d4ab1c (patch) | |
tree | 482f59cf1eb5e407209c4cc50da5c299ee40daee | |
parent | 1bcac10399266da62126304ae89374a218dbdc51 (diff) | |
download | chef-b66dbb9ea24297f311da7601b31ac868c7d4ab1c.tar.gz |
Missing stub causing failing specs in build_node
-rw-r--r-- | chef/spec/unit/client_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chef/spec/unit/client_spec.rb b/chef/spec/unit/client_spec.rb index f13a273d43..358571c928 100644 --- a/chef/spec/unit/client_spec.rb +++ b/chef/spec/unit/client_spec.rb @@ -135,6 +135,7 @@ describe Chef::Client, "build_node" do @mock_rest.stub!(:get_rest).and_return(@node) Chef::REST.stub!(:new).and_return(@mock_rest) @client = Chef::Client.new + Chef::Platform.stub!(:find_platform_and_version).and_return(["FooOS", "1.3.3.7"]) end it "should set the name equal to the FQDN" do |