summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAJ Christensen <aj@junglist.gen.nz>2008-11-26 18:47:31 +1300
committerAJ Christensen <aj@junglist.gen.nz>2008-11-26 18:47:31 +1300
commitb66dbb9ea24297f311da7601b31ac868c7d4ab1c (patch)
tree482f59cf1eb5e407209c4cc50da5c299ee40daee
parent1bcac10399266da62126304ae89374a218dbdc51 (diff)
downloadchef-b66dbb9ea24297f311da7601b31ac868c7d4ab1c.tar.gz
Missing stub causing failing specs in build_node
-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 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