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

Nick nick at deadorange.com
Fri Jan 7 19:13:10 EST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110107/bffff3fc/attachment.html>


More information about the rspec-users mailing list