One of the stubs was accidentally stubbing for /bin/foo instead of
/bin/true.

Reviewed-by:Nick Lewis

Signed-off-by: Max Martin <m...@puppetlabs.com>
---
 spec/unit/type/exec_spec.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/spec/unit/type/exec_spec.rb b/spec/unit/type/exec_spec.rb
index 978c4ba..07ad1df 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
-- 
1.7.4

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to