Re: Strange Little Problem

Bob Showalter
Wed, 26 Sep 2007 18:44:46 -0000

On 9/26/07, Rob Biedenharn
<Rob-GBZH0y1GwQfnZcttdmLDtcI/UQi/AW5J@public.gmane.org>
wrote:
> However, all you''re doing is testing that the
validates_uniqueness_of
> works.

Rob, is that *all* he''s doing? The test is too elaborate, but a case
could be made that this is a regression test for the business rule
that "Member numbers must be unique".

It would protect him from coming along later and inadvertently
removing that validation rule.

I agree that we shouldn''t be testing Rails itself.