Doh. I didn't click through to your gist before I replied. It looks like you've already identified the problematic test, so most of what I posted will be of no use to you. :(
On Tue, Apr 17, 2012 at 5:27 PM, Jeff McCune <j...@puppetlabs.com> wrote: > 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 puppet-dev@googlegroups.com. > To unsubscribe from this group, send email to > puppet-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.