[rspec-users] Spec::Rails, "model.should have(1).error_on(:attribute)"

Phor Gruber lists at ruby-forum.com
Wed Mar 25 14:37:00 EDT 2009


I added:
  - validates_presence_of :attribute

To my model.

The test now passes.

yay!!

Thanks David.

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


More information about the rspec-users mailing list