Hi Ahsan

If you want Sphinx available during tests, you definitely need to run  
the thinking_sphinx tasks (index & start, at least) for the test  
environment.

rake ts:in RAILS_ENV=test
rake ts:start RAILS_ENV=test

Cheers

-- 
Pat

On 19/11/2008, at 10:51 PM, Ahsan Ali wrote:

> Hi,
>
> I tried both the development and test environments. I looked at TS'  
> specs and it seems to create/start a TS instance upon start-up. That  
> shouldn't be necessary if I've already started it from the  
> console ....
>
> However, it turns out that it is an issue with merb's request()  
> helper, not a TS issue. It works fine if I use dispatch_to.
>
> Thanks,
>
> Ahsan Ali
>
>
> Did you try starting TS in the test environment? Also have a look at
> how the TS plugin specs work.
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to