[rspec-users] Rspec approach to test model
Joaquin Rivera Padron
joahking at gmail.com
Thu Feb 12 05:12:46 EST 2009
method new does not run your model validations, neither does your provided
but save indeed does.
my guess is your mixing several contexts (cases, situations) in your single
spec. Try decoupling all with more granular examples and you'll get to save
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users