summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Martin <max@puppetlabs.com>2011-03-18 11:14:52 -0700
committerMax Martin <max@puppetlabs.com>2011-03-18 11:14:52 -0700
commit137f1eacb2cd65a8833efa03871aa7a7a711f0bb (patch)
tree0a53838e775ad1709a24ac8da850d422229b6676
parenta1d32fb0e29d94f29f882fead6ce4de40af862cf (diff)
parent08115c0742024426cd7570742868915694eea61a (diff)
downloadpuppet-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-xspec/unit/type/exec_spec.rb2
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