Hi, (sorry for the double post).

I've been working on some standard methods to test model validations.

At this point, I can test on these validations:

* validates_presence_of
* validates_length_of
* validates_format_of
* validates_numericality_of

But how do you test on the rest of validations if there is a way:

* validates_uniqueness_of
* validates_confirmation_of
* validates_acceptance_of
* validates_associated
* validates_exclusion_of
* validates_inclusion_of
* validates_each

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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to