[rspec-users] Specs for code stored in rails_app/lib/

Wincent Colaiuta win at wincent.com
Thu May 24 02:56:35 EDT 2007


Where should the specs go for code in the "lib" directory of a Rails  
app?

I made a folder, "spec/lib/", for storing such specs, and RSpec  
automatically picks them up when run using "rake spec".

Before I go ahead and patch rspec_on_rails/lib/autotest/ 
rails_rspec.rb so that autotest can monitor these specs I'd like to  
ask whether this is the "standard" location for such specs or not.

Cheers,
Wincent



More information about the rspec-users mailing list