[rspec-users] specs pass when run with other app specs, but fail when run independently

Matt Wynne matt at mattwynne.net
Tue Sep 2 02:35:02 EDT 2008


> functionality provided in the protected methods.  Again, the fact that
> they have been specing the protected methods is an indication that
> another object may want to be born to handle the extra  
> responsibility...

+1. The desire to unit test private methods always rings the  
'refactor: extract class' siren in my head.


More information about the rspec-users mailing list