Yes, you're absolutely right. I somehow ignored the class name in my previous answers, but that would have been the next point of attack. ;-)
Pat Maddox schrieb: > 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 > > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users