On Nov 19, 4:07 pm, "Todd A. Jacobs" <tjacobs-sndr-
[email protected]> wrote:
> Doesn't your unit testing exercise the validator? I'm not an expert on
> rails testing, but that's where I'd expect it to checked.
>
Yes, indeed my unit tests all pass when exercising the validator, and
perhaps that is all there is to it. Still, this seems like an odd way
to test the validation code, and perhaps with such a simple validation
unit testing the models that have the validator is enough.

Cheers--

Charles

--

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


Reply via email to