Hi everybody, The application I'm working on uses extensively thinking sphinx and I have many doubts about the best testing strategy to use. After reading many posts on this group I've decided to stub out TS on functional tests, using something like this inside my tests:
User.stubs(:search).returns(User.all) So now I have to do the real testing on TS: where would you put these tests? Do you think they belong the User class unit tests? I'm also having a hard time understanding how to index the data I'm creating on individual tests with factories. Could anybody show me a working example, possibly using the standard unit/functional rails test suite? Unfortunately I have never been using Cucumber: should I? Thanks for any help -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
