[rspec-users] specs on private methods

Francois Wurmus francois.wurmus at infopark.de
Thu Jan 10 15:41:37 EST 2008

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 <francois.wurmus at infopark.de> 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 at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list