[rspec-users] standard location for spec helpers

Pat Maddox pergesu at gmail.com
Tue Jun 12 21:28:27 EDT 2007

On 6/12/07, Edward Ocampo-Gooding <edward.og at gmail.com> wrote:
> Is there a standard location for spec helpers (as in bits of code that help
> write specs)?
> I'm mocking/stubing-out portions of ActiveSalesforce, a remote-database
> abstraction layer so my specs won't have to rely on a remote connection, but I'm
> not sure where I should be putting this helper lib. I was thinking of just
> sticking it in spec/ but I was curious if there's a standard place for it.
> Thanks!
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

I created a spec/lib dir and throw my spec helper files in there.
Then I require them in spec_helper.rb


More information about the rspec-users mailing list