On Jan 10, 2008 12:34 PM, Francois Wurmus <[EMAIL PROTECTED]> wrote: > Even my suggestion wouldn't be a sufficient spec. What about completely > wrong mac addresses? Empty addresses, too many characters, invalid > characters?
I just sent a reply that crossed wires with yours...anyway, introducing a MacAddress class here would be great for solving these sorts of problems. Mac address validation is something that the @signup object should not be concerned with. Pat _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users