You can start reading at section 6.2, and see how the Rails 3 Tutorial 
tests validations:

http://ruby.railstutorial.org/chapters/modeling-and-viewing-users-one#sec:user_model

-- 
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