Hey everyone,

I'm working on fixing up a module and I've written a test that triggers the
bug against Puppet 2.7.x.  I'm running into a problem where I get 0
failures when I run `rake test` or `rspec --format d spec/` but I get the
failure I'm expecting if I run the spec file directly with
rspec spec/unit/application/describe_spec.rb

Here's the gist of what's going on:

https://gist.github.com/2410088

The code in question is:

[1]
https://github.com/jeffmccune/puppetlabs-mount-providers/tree/ticket/master/13070_fix_mounttab

And Puppet 2.7.x

What is a common case for this type of order dependent false positive, and
what are some strategies I can employ to be a bit more defensive about the
context my test is running in?

Thanks,
-Jeff

-- 
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.

Reply via email to