[rspec-users] View-Driven-Development by Behavior-Driven-Development and RSpec

Daniel N has.sox at gmail.com
Mon Jul 30 07:39:52 EDT 2007


On 7/30/07, Mikel Lindsaar <raasdnil at gmail.com> wrote:
>
> I find myself doing the same thing... the, open the model and type in
> the it shoulds...


I think it would need to do a bit more.

If I call mock_model( User ) and the User class doesn't exist yet that will
blow it up.

I guess at that point you would need to create the User class. :(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070730/0034b1ff/attachment.html 


More information about the rspec-users mailing list