Functional tests - Autonumber for fixtures

Hi,

I am having a weird problem. Running functional tests for one entire
controller fails, when running those tests one by one is OK. I have only
one model loaded, and all tests are related to this model only.
Running all tests, I checked then the id column, and saw that the ids do
not match my fixtures, but seems to have been generated (id:x when x is
the number of tests I run)

Why the id specified in the fixtures is not loaded here?

I repeat, if I call tests one one, it works smoothly.

Jean-Etienne

Ooops, put my previous message in te garbage, I was using
use_transactional_fixtures = true, and in the same time, MyISAM
tables…

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