diff options
-rwxr-xr-x | 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 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 |