On Thu, Apr 3, 2008 at 10:41 PM, Steven Baker <[EMAIL PROTECTED]> wrote:
>  If you were to write an example that creates two models, and ensures
>  that the duplicate errored appropriately, my "rule" is violated.  Each
>  of your examples is then specifying the behaviour of the
>  validates_uniqueness_of method, which you didn't write.

I don't really agree with this.  The desired behavior is to disallow
two records with the same data.  v_u_o is simply a quick and easy
means to that end.

Pat
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to