Hi Pat. This is the cucumber step that triggers before I try to preform any test on a query preformed by Thinking Sphinx.
Given(/^the TS indexes are processed$/) do ThinkingSphinx::Test.index sleep(0.25) end On Saturday, October 5, 2013 9:51:37 PM UTC-7, Pat Allan wrote: > > Hi JS > > Can you supply an example Cucumber step where you're expecting behaviour > that's not working? Not spotting anything obviously wrong with your current > setup. > > -- > Pat > > On 28/09/2013, at 6:51 AM, JS <[email protected] <javascript:>> > wrote: > > I've tried googleing the question and tried a verity of things, however I > am unable to get TS3 to output any results in my cucumber tests. > > In my features/support/env.rb file I have the following: > > require 'thinking_sphinx/test' > ThinkingSphinx::Test.init > ThinkingSphinx::Test.start_with_autostop > DatabaseCleaner.strategy = :truncation > > In my tests I have the following before I try to have TS return any > results: > > Given(/^the TS indexes are processed$/) do > ThinkingSphinx::Test.index > sleep(0.25) > end > > I am developing with the following: > > Mac OSX 10.7 > rails 3.2.13 > gem 'mysql2', '0.3.13' > gem 'thinking-sphinx', '3.0.5' > Using postgres (PostgreSQL) 9.2.4 as my database > Sphinx 2.0.9-release (rel20-r4115) > > Please let me know if I have left anything out, or if there is > any relevant documentation I am not aware of. Thanks in advance! > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected]<javascript:> > . > Visit this group at http://groups.google.com/group/thinking-sphinx. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/thinking-sphinx. For more options, visit https://groups.google.com/groups/opt_out.
