Classic Docs
Docs Navigation

Fail: Sphinx tests

If you are using Thinking Sphinx, make sure that that you run this command before your tests:

RAILS_ENV=test bundle exec rake ts:index

Than you can either run

RAILS_ENV=test bundle exec rake ts:start &

or use


directly in the source code of your tests.

Semaphore Docs are open source — Edit on GitHub


Occasional lightweight product and blog updates. Unsubscribe at any time.

2009-2020 © Rendered Text. All rights reserved. Terms of Service, Privacy policy, Security.