summaryrefslogtreecommitdiffstats
path: root/lib/puppet/interface/action_builder.rb
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppetlabs.com>2011-08-18 14:23:15 -0700
committerJosh Cooper <josh@puppetlabs.com>2011-08-22 09:40:20 -0700
commit9f39cc476246e307ec4d8861502c1d5b8ce1bc21 (patch)
tree498de431f2ada8b549b4c7e563fbe6a0ec8d152b /lib/puppet/interface/action_builder.rb
parent299932691c7a67c93275e978c52132ff99cae4f5 (diff)
downloadpuppet-9f39cc476246e307ec4d8861502c1d5b8ce1bc21.tar.gz
puppet-9f39cc476246e307ec4d8861502c1d5b8ce1bc21.tar.xz
puppet-9f39cc476246e307ec4d8861502c1d5b8ce1bc21.zip
maint: Stub spec test so directory is not created unnecessarily
One of the spec tests required that the parent directory (in this case /tmp) already exist and that /tmp/my_directory could be created. This fails on Windows as /tmp likely doesn't exist, and also the test doesn't actually need to create the directory. This commit forces the call to exists? with the parent directory to return true, and stubs the mkdir call so that the directory is not actually created. It also makes the raise_error expectation look for the specific error message, instead of a generic DevError.
Diffstat (limited to 'lib/puppet/interface/action_builder.rb')
0 files changed, 0 insertions, 0 deletions