Closed jrforrest closed 6 years ago
Thanks! It looks like it's failing for Rails 3.2, do you have any idea to fix it?
Huh, sorry I didn't notice that before opening the PR. Looks like try
behavior was a little different back then? This should do it.
Perfect. Thanks! 🎉
In Rails 5
ActiveSupport::TestCase
now usesuse_transactional_tests
rather thanuse_transactional_fixtures
as its method to check whether transactional fixtures are being utilized for the current test.See: https://github.com/rails/rails/pull/19282
I'm in the middle of a Rails 5 upgrade on an app using Slavery and this was causing
when using
Slavery.on_slave
.