[rspec-users] Newbie question about mock_model and should_receive....

Rémi Gagnon lists at ruby-forum.com
Mon Oct 6 10:27:11 EDT 2008


I mocked a model and I need to test when I set for instance '000' to an
attribute 'A' that B attibute is set to '1111'.  I don't want to stub or
mock the B(accessors) to that value cause I want to make sure my
controller will do that.

I know its dummy question.


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

More information about the rspec-users mailing list