Autotest was failing on puppet apply tests because it was reading autotest's args as the manifest file and then erroring because it wasn't a valid file.
Signed-off-by: Matt Robinson <[email protected]> --- spec/spec_helper.rb | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ab7ff6c..2fe0c36 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -7,6 +7,9 @@ $LOAD_PATH.unshift("#{dir}/") $LOAD_PATH.unshift("#{dir}/lib") # a spec-specific test lib dir $LOAD_PATH.unshift("#{dir}/../lib") +# Don't want puppet getting the command line arguments for rake or autotest +ARGV.clear + require 'puppet' require 'mocha' gem 'rspec', '>=1.2.9' -- 1.7.1 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
