[rspec-users] how to test a observer model?

Zhenning Guan lists at ruby-forum.com
Thu Nov 26 20:35:07 EST 2009

Matt Wynne wrote:
> You can do something like this to sense the value passed to the user
> object:
> Obviously the precise specifications of the key are up to you and your
> stakeholders, but that should show you how you can test it.
> cheers,
> Matt
> http://mattwynne.net
> +447974 430184

thank you.
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list