[openstreetmap/openstreetmap-website] Replace trace-related fixtures with factories. (#1347)
notifications at github.com
Wed Nov 9 17:40:45 UTC 2016
Oh, I think I've figured it out. In some places in the tests, we do things like
trace = Trace.create
If the created trace has an id <= 10 , then one of the fixture files from will be deleted. Gah. So it's not only execution-order-dependent, it only happens with the primary key sequence is reset, which is why I was struggling to reproduce it locally.
I'll need to think about this, suggestions welcome.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev