[rspec-users] Best place to set load path for new spec folders

Mikel Lindsaar raasdnil at gmail.com
Sun Oct 5 06:41:08 EDT 2008


I have a bunch of observers in RAILS_ROOT/spec/observers/ as well as
in some sub directories for some name spaced observers.

For example:

\spec
   \observers
       person_observer_spec.rb
       \admin
            user_observer_spec.rb


autospec doesn't seem to want to pick them up.  The box I am talking
about is on RSpec 1.1.5.

How to tell autospec to go hunt down the observers tree ?

Mikel


More information about the rspec-users mailing list