[rspec-users] Specing protected methods

Avdi Grimm avdi at avdi.org
Thu Oct 23 17:00:26 EDT 2008


On Thu, Oct 23, 2008 at 5:16 AM, Bastien <bastien.vaucher at gmail.com> wrote:
> Hi everyone,
> Do anyone know if there's a way to spec protected methods ?
> Thanks in advance

FWIW, I blogged my answer to this question recently:
http://avdi.org/devblog/2008/10/21/testing-private-methods/

-- 
Avdi

Home: http://avdi.org
Developer Blog: http://avdi.org/devblog/
Twitter: http://twitter.com/avdi
Journal: http://avdi.livejournal.com


More information about the rspec-users mailing list