This project is archived and is in readonly mode.
Tests and model not based on activerecord
-
Mark Foster
I suspect you are getting this because in test_helper.rb you have the fixtures setting:
fixtures :all
Comment that out and specify individual fixtures for your AR models and your error should go away.
-
Rohit Arondekar
- State changed from new to invalid
I'm closing this ticket as Mark's advice seems spot on. If the issue still exists, feel free to make a comment asking for ticket to be re-opened and I'll do it.