From 1688e84f92b7453dcd581e75be222f81d6cf3083 Mon Sep 17 00:00:00 2001 From: Pat Allan Date: Sat, 12 Nov 2011 10:58:14 +0700 Subject: [PATCH] Note the different port for the test environment. --- ts/en/testing.textile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/ts/en/testing.textile b/ts/en/testing.textile index 8bf8c9f..7ea657f 100644 --- a/ts/en/testing.textile +++ b/ts/en/testing.textile @@ -7,6 +7,13 @@ h2. Testing with Thinking Sphinx Before you get caught up in the specifics of testing Thinking Sphinx using certain tools, it's worth noting that no matter what the approach, you'll need to turn off transactional fixtures and index your data after creating the appropriate records - otherwise you won't get any search results. +Also: make sure you have your test environment using a different port number in @config/sphinx.yml@ - otherwise you won't be able to run Sphinx in your development environment _and_ your tests at the same time. + +{% highlight yaml %} +test: + port: 9313 +{% endhighlight %} +