[rspec-users] How to test scripts in the lib directory of Rails?

Volkan Unsal spocksplanet at gmail.com
Fri Jan 7 19:44:05 EST 2011


D'oh! Thanks Nick!

On Jan 7, 7:13 pm, Nick <n... at deadorange.com> wrote:
> Hey Volkan. Make sure to "require" the file that your Query class is in.
> Usually this is done at the top of query_spec.rb , or in spec_helper.rb .
>
> Cheers,
> Nick
>
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list