diff --git a/spec/unit/type/exec_spec.rb b/spec/unit/type/exec_spec.rb
index <HASH>..<HASH> 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
(#<I>) Remove typo from spec test

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

Reviewed-by:Nick Lewis