Apr 17 Insoshi tests that use Ultrasphinx
tags:
Ultrasphinx is a configurator and client to the Sphinx full text search engine by Evan Weaver. Insoshi uses it, but be aware that you need to generate your Ultrasphinx configurations so your tests run and no strange errors occur:
rake ultrasphinx:configure RAILS_ENV=test
that will generate your config/ultrasphinx/test.conf from the template config/ultrasphinx/test.base and your search test will run as a charm. It’s the old known rake and its arguments you know ;-) then start with:
rake ultrasphinx:index RAILS_ENV=test rake ultrasphinx:daemon:start RAILS_ENV=test