[rspec-users] Spec::Rails, "model.should have(1).error_on(:attribute)"
dchelimsky at gmail.com
Wed Mar 25 16:30:55 EDT 2009
On Mar 25, 2009, at 1:37 PM, Phor Gruber <lists at ruby-forum.com> wrote:
> I added:
> - validates_presence_of :attribute
> To my model.
> The test now passes.
Congrats! It took longer than it usually does, but you just
experienced the red and green parts of the red/green/refactor cycle.
> Thanks David.
> Posted via http://www.ruby-forum.com/.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users