[rspec-users] Testing on enter state

Ramon Tayag ramon.tayag at gmail.com
Wed Nov 19 08:17:55 EST 2008

I was reading some old posts on how we shouldn't test private methods,
but there seemed to be an exception for states.

When my model enters a state, a method is executed. (:on => Proc ...)
I just want to test this method.  I couldn't find much material on it.
 How can I go about this?

Ramon Tayag

More information about the rspec-users mailing list