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? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I found the answer if anybody else runs into this issue. Check your test_helper.rb file. Mine has transactional fixtures turned on: self.use_transactional_fixtures = true Just set that line to false and that should fix things. Brian Cardarella 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?-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---