summaryrefslogtreecommitdiff
path: root/chef/spec/unit
diff options
context:
space:
mode:
authorjoewilliams <joe@joetify.com>2011-02-10 19:12:31 -0800
committerDaniel DeLeo <dan@opscode.com>2011-02-24 13:58:35 -0800
commit9c2fa6c023bb2d549fafb89fa04f0d80109f5b11 (patch)
treeb685583c410d8dc8f345a05d8168249ee4bcd30e /chef/spec/unit
parent64208a7cf5a57b1ee9bae54636cf606b796bf635 (diff)
downloadchef-9c2fa6c023bb2d549fafb89fa04f0d80109f5b11.tar.gz
[CHEF-2040] raise an exception when erl_call fails
Diffstat (limited to 'chef/spec/unit')
-rw-r--r--chef/spec/unit/provider/erl_call_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/spec/unit/provider/erl_call_spec.rb b/chef/spec/unit/provider/erl_call_spec.rb
index e2a2588f4b..2b7902cc39 100644
--- a/chef/spec/unit/provider/erl_call_spec.rb
+++ b/chef/spec/unit/provider/erl_call_spec.rb
@@ -35,7 +35,7 @@ describe Chef::Provider::ErlCall do
#@status = mock("Status", :exitstatus => 0)
@provider.stub!(:popen4).and_return(@status)
@stdin = StringIO.new
- @stdout = mock("STDOUT", :null_object => true)
+ @stdout = StringIO.new("{ok, woohoo}")
@stderr = mock("STDERR", :null_object => true)
@pid = 2342999
end