Skip to content

Commit

Permalink
Added config.load_defaults to test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Dec 24, 2023
1 parent 5106454 commit 54cb3e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

Combustion.path = "test/internal"
Combustion.initialize! :active_record, :action_controller, :action_mailer do
if ActiveRecord::VERSION::MAJOR < 6 && config.active_record.sqlite3.respond_to?(:represent_boolean_as_integer)
config.active_record.sqlite3.represent_boolean_as_integer = true
end
config.load_defaults Rails::VERSION::STRING.to_f

config.active_record.logger = logger
config.action_mailer.logger = logger
Expand Down

0 comments on commit 54cb3e6

Please sign in to comment.