[rspec-users] specs on private methods

Ben Mabey ben at benmabey.com
Tue Jan 8 14:20:58 EST 2008


Chris Olsen wrote:
> How does a person test private methods?
>
> Is there a way to declare them as private, but retain any tests that
> were written during the initial development?
>
> Thanks.
>   
When I need to do this I just use the send method.

-Ben


More information about the rspec-users mailing list