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

ThinkingSphinx::Test.start
ThinkingSphinx::Test.stop

directly in the source code of your tests.

Semaphore Docs are open source — Edit on GitHub

Newsletter

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

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