diff options
author | Max Martin <max@puppetlabs.com> | 2011-03-18 11:14:52 -0700 |
---|---|---|
committer | Max Martin <max@puppetlabs.com> | 2011-03-18 11:14:52 -0700 |
commit | 137f1eacb2cd65a8833efa03871aa7a7a711f0bb (patch) | |
tree | 0a53838e775ad1709a24ac8da850d422229b6676 | |
parent | a1d32fb0e29d94f29f882fead6ce4de40af862cf (diff) | |
parent | 08115c0742024426cd7570742868915694eea61a (diff) | |
download | puppet-137f1eacb2cd65a8833efa03871aa7a7a711f0bb.tar.gz puppet-137f1eacb2cd65a8833efa03871aa7a7a711f0bb.tar.xz puppet-137f1eacb2cd65a8833efa03871aa7a7a711f0bb.zip |
Merge branch 'ticket/2.6.next/maint-more-exec-testing' into 2.6.next
* ticket/2.6.next/maint-more-exec-testing:
(#4884) Remove typo from spec test
-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 |