For some reason my fixtures are not reloading their data after each test method. I''ve read that this is supposed to be the case so that I can work with clean data for every test, but it isn''t happening. I have checked my test test.rb configuration environment file and have not noticed anything out of place. There is nothing in the API that I have come across that would create this behavior. Any help? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
are you using transactional fixtures? On Oct 13, 4:41 pm, bcardarella <bcardare...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> For some reason my fixtures are not reloading their data after each > test method. I''ve read that this is supposed to be the case so that I > can work with clean data for every test, but it isn''t happening. I > have checked my test test.rb configuration environment file and have > not noticed anything out of place. There is nothing in the API that I > have come across that would create this behavior. Any help?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yep, that was it. I didn''t notice that line in my test_helper.rb file. I guess that they are turned on by default when test_helper.rb was generated. Thanks for pointing me in the right direction! On Oct 13, 11:13 pm, jemminger <jemmin...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> are you using transactional fixtures? > > On Oct 13, 4:41 pm, bcardarella <bcardare...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > For some reason my fixtures are not reloading their data after each > > test method. I''ve read that this is supposed to be the case so that I > > can work with clean data for every test, but it isn''t happening. I > > have checked my test test.rb configuration environment file and have > > not noticed anything out of place. There is nothing in the API that I > > have come across that would create this behavior. Any help?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---