Skip to content

Commit

Permalink
Require adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
xjunior committed Jul 23, 2024
1 parent 443922a commit c58693b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

db_config = Configuration.new

require "active_record/connection_adapters/#{db_config['original_adapter']}_adapter"

# Disables/enables the queries log you see in your rails server in dev mode
fd = ENV['VERBOSE'] ? STDOUT : '/dev/null'
ActiveRecord::Base.logger = Logger.new(fd)
Expand Down

0 comments on commit c58693b

Please sign in to comment.