Restricts testing of trilogy to ActiveRecord 7.1.0 or later
Pulls load_schema out of the database_cleaner version of DatabaseHelper and adds :trilogy to the appropriate when clause. In theory database_cleaner could be updated here instead, but I was confused by the separation and frankly it seemed simpler to pull the whole thing into this gem.
This PR gets the specs green w/trilogy.
Key changes are:
database_cleaner
version of DatabaseHelper and adds :trilogy to the appropriatewhen
clause. In theorydatabase_cleaner
could be updated here instead, but I was confused by the separation and frankly it seemed simpler to pull the whole thing into this gem.This runs green on my fork.