Skip to content

Commit

Permalink
add support for legacy AR version with trilogy
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros committed Oct 27, 2023
1 parent 52d96aa commit 9b958ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
require 'with_advisory_lock'
require 'tmpdir'
require 'securerandom'
begin
require 'activerecord-trilogy-adapter'
rescue LoadError
# do nothing
end

ActiveRecord::Base.configurations = {
default_env: {
Expand Down

0 comments on commit 9b958ec

Please sign in to comment.