Hi Rodrigo Can you share the code you've got in your before(:each) block?
-- Pat On 28/03/2011, at 9:48 PM, rochgs wrote: > Hi Pat. > > On 22 mar, 14:35, Pat Allan <[email protected]> wrote: > >> I think the issue here is that the configuration file isn't rewritten when >> you index. Try adding the following after creating your addresses: >> >> ThinkingSphinx::Test.config.build > > I know configuration is been rewritten because if I generate the right > one before the tests (saving the models manually and then running rake > thinking_spinx:index RAILS_ENV=test) when I run the test the file is > rewritten again without the polymorphic tables in the sql query. > > Still I have try your suggestion and it didn't work. > > Thanks for your time. > > > -- > Rodrigo García Suárez > > -- > 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.
