I happen to do that quite frequently I'm afraid. > Sorry if it created some issues. I didn't expect (no pun intended) that > it wasn't working (and I'm positive this used to work). > > > Expecting a stubbed method never wasn't working, however expecting a > > stubbed method >= once behaved as expected. Definitely an rspec bug. > > Or a mocha bug? Or a combination of rspec+mocha?
It's a classic problem with test driven devlopment, known to the ancients as the "*Quis custodiet ipsos custodes?" *anti-pattern. -- M ----------------------------------------------------------- When in trouble or in doubt, run in circles, scream and shout. -- 1920's parody of the maritime general prudential rule ------------------------------------------------------------ -- 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.