A few random commits at first to clean things up. Then removed the deprecated calls in each test/spec file. Finally, to prevent a deprecation from the plugin being triggered on the project itself when running the tests, I defined the Rails module in test/test_helper.rb in a way that's more similar to 7.1.
We're still testing the other code path that's calling the deprecated API, but only when running tests with Active Support < 7.1.
Fixes #88
A few random commits at first to clean things up. Then removed the deprecated calls in each test/spec file. Finally, to prevent a deprecation from the plugin being triggered on the project itself when running the tests, I defined the
Rails
module intest/test_helper.rb
in a way that's more similar to 7.1.We're still testing the other code path that's calling the deprecated API, but only when running tests with Active Support < 7.1.