[rspec-users] spec for Rails library

Gregory Murphy Gregory.Murphy at Sun.COM
Fri Jul 13 15:31:05 EDT 2007

aslak hellesoy wrote:
> On 7/13/07, Gregory Murphy <Gregory.Murphy at sun.com> wrote:
>> How does one write a spec for a Rails library?
> Umm, just like you would for any other Ruby library. Can you be more 
> specific?

Sorry, I'm referring in particular to RSpec for Rails. It generates a 
number of directories in a Rails app, with a place for model specs, for 
example, and a rake task to run them, e.g. 'rake spec:models'. But there 
is no place and no task for library tests.

// Gregory

More information about the rspec-users mailing list