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 026fe06 commit 49b410d
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 @@ -6,7 +6,5 @@

Combustion.path = "test/internal"
Combustion.initialize! :active_record 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
end

0 comments on commit 49b410d

Please sign in to comment.