[rspec-users] spec/support directory outside Rails?...
stuart.hungerford at gmail.com
Fri May 14 20:03:42 EDT 2010
I have a group of non-Rails Ruby projects that all make heavy use of
RSpec. Each of these projects has a "spec" directory with a
"helper.rb" file. All the *_spec.rb files in the spec directory tree
do the usual
require File.dirname(__FILE__) + "/../helper"
like dance. I understand that RSpec for Rails will look for a "spec/
support" directory and require any files found there? Is there a
similar scheme for non-Rails projects?
Any advice on this much appreciated!
More information about the rspec-users