On Wed, Apr 2, 2008 at 1:19 AM, Courtenay <[EMAIL PROTECTED]> wrote: > IMO this function should be tested using the database, since it relies > heavily on the data.
Agreed. Create a record, then create another record with duplicate data, and verify that the second record is invalid. Pat _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users