[rspec-users] specs on private methods

Pat Maddox pergesu at gmail.com
Thu Jan 10 15:38:33 EST 2008

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.


More information about the rspec-users mailing list