From 08115c0742024426cd7570742868915694eea61a Mon Sep 17 00:00:00 2001 From: Max Martin Date: Fri, 18 Mar 2011 11:04:27 -0700 Subject: (#4884) Remove typo from spec test One of the stubs was accidentally stubbing for /bin/foo instead of /bin/true. Reviewed-by:Nick Lewis --- spec/unit/type/exec_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/type/exec_spec.rb b/spec/unit/type/exec_spec.rb index 978c4bab0..07ad1df4c 100755 --- a/spec/unit/type/exec_spec.rb +++ b/spec/unit/type/exec_spec.rb @@ -35,7 +35,7 @@ describe Puppet::Type.type(:exec) do describe "when not stubbing the provider" do before do - @executable = Puppet.features.posix? ? '/bin/foo' : 'C:/Program Files/something.exe' + @executable = Puppet.features.posix? ? '/bin/true' : 'C:/Program Files/something.exe' File.stubs(:exists?).returns false File.stubs(:exists?).with(@executable).returns true File.stubs(:exists?).with('/bin/false').returns true -- cgit