[rspec-users] testing around_save

apneadiving apnea.diving.deep at gmail.com
Thu Feb 23 21:36:33 UTC 2012

I've just upgraded to Rails 3.2.1 and I can't get my specs checking
whether or not around_save work anymore.

I simply did something like:

object.should_receive :around_filter_name
object.save.should be_true

(Actually, it was slightly more complex, it's part of a state machine)

More information about the rspec-users mailing list