I'm trying to upgrade my app to rails 3.1 and hit an issue while running my tests.
Every test is failing with this error:
NameError: uninitialized constant Fixtures
It's coming from using Fixtures.identify() in my fixtures:
<%= Fixtures.identify(:thing) %>
Is this no longer supported in rails 3.1? Is there an alternative to using Fixtures.identify to get the ID of a fixture?
You will have to refer to it as ActiveRecord::Fixtures
now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With