On 24 Sep 2008, at 14:38, David Chelimsky wrote:
On Wed, Sep 24, 2008 at 8:23 AM, Matt Wynne <[EMAIL PROTECTED]>
wrote:
On 24 Sep 2008, at 13:35, Carlos Rafael Belizón Ibáñez wrote:
If you create a mock object using mock_model(), or mock(), you
have to stub
or mock absolutely all the interactions it will have with the
class under
test.
Or you could use mock_model(..).as_null_object (assuming you have the
current HEAD).
This is the new record / playback stuff eh?
cheers,
Matt
----
http://blog.mattwynne.net
http://songkick.com
In case you wondered: The opinions expressed in this email are my own
and do not necessarily reflect the views of any former, current or
future employers of mine.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users