Issue #14515 has been updated by Jeff Weiss. Category set to testing Branch set to https://github.com/jeffweiss/puppet/tree/ticket/3.0.x/14515_tests_fail_with_mocha_11_4
I've been looking at this a little, and it appears that mocha 0.11.4 no longer allows you to stub methods on `nil`. Not really actively working on this, so if someone want to pick up my branch and run with it, awesome... ---------------------------------------- Bug #14515: Spec tests fail with mocha 0.11.4 https://projects.puppetlabs.com/issues/14515#change-63856 Author: Jeff Weiss Status: Accepted Priority: Normal Assignee: Category: testing Target version: Affected Puppet version: Keywords: mocha rubygems Branch: https://github.com/jeffweiss/puppet/tree/ticket/3.0.x/14515_tests_fail_with_mocha_11_4 They work with mocha 0.10.5. A good sample of the failures are visible when you test `spec/unit/application/queue_spec.rb`. As of ticket creation, 0.11.4 is the latest version of mocha. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
