Hi Ramón

The monkey patch is your best option at this point, I'm afraid. Good to know 
it's working for you.

-- 
Pat

On 22/03/2011, at 6:06 AM, Ramón Cahenzli wrote:

> Hi again,
> 
> I think we managed to solve this by monkey-patching things in a 
> features/support/env_thinking_sphinx.rb file:
> 
> 
> Cucumber::Rails::World.use_transactional_fixtures = false
> 
> # http://freelancing-god.github.com/ts/en/testing.html
> require 'cucumber/thinking_sphinx/external_world'
> 
> # Monkeypatch thinking sphinx init in order to NOT overwrite
> # the config - otherwise all our custom changes to the config
> # are lost! See:
> # 
> http://groups.google.com/group/thinking-sphinx/browse_thread/thread/70dd3a663c3b9792#
> class ThinkingSphinx::Test
>   def self.start
>     config.controller.index
>     config.controller.start
>   end
> end
> 
> Cucumber::ThinkingSphinx::ExternalWorld.new
> 
> 
> -- 
> 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.

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