Fixtures not re-loading per test method

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?

are you using transactional fixtures?

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!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs