Re: [rspec-users] Smart mocks for ActiveRecord to speed up tests

2012-04-14 Thread David Chelimsky
On Friday, April 13, 2012 at 2:09 PM, Rodrigo Rosenfeld Rosas wrote: > Hello old friends, I'm getting back to Rails and Ruby programming full time > again (Yay!) > > I've stopped doing Rails programming to work with Grails in 2009 after 2 > years working with Rails due to a better job offer. >

[rspec-users] RSpec exactly behavior (it doesn't exactly fail)

2012-04-14 Thread Bas Vodde
Hiya all, I've got a quick question related to RSpec. I was test-driving some code and ended up in an endless loop. I was surprised by this, but traced it down to the mock not failing on additional calls but only in the end. Let me explain. I was writing code like this: subject.wrapper.sho