[rspec-users] Specs and Libs

Eivind Uggedal eivindu at ifi.uio.no
Tue Oct 9 11:15:25 EDT 2007


> > On 10/4/07, Nathan Sutton < nathan.sutton at gmail.com> wrote:
> > > How would I go about writing specs for a lib, particularly one with
> > > all protected and private methods.  I'm trying to spec the
> > > AuthenticatedSystem library from the rails restful_authentication
> > > plugin:
> > > http://pastie.caboo.se/103625

I have speced AuthenticatedSystem in my own auth plugin:

http://acts-as-authentable.googlecode.com

Could act as a staring point for your endeavors.

-- 
Cheers,
Eivind Uggedal
Engineer,
Faculty of Social Science,
MSc Computer Science,
University of Oslo


More information about the rspec-users mailing list