Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ platforms :ruby do

if version.start_with?('4.2', '5.0')
gem 'sqlite3', '~> 1.3.13'
elsif version.start_with?('8.')
# Rails 8.0+ requires sqlite3 >= 2.1
gem 'sqlite3', '>= 2.1'
else
gem 'sqlite3', '~> 1.4'
end
Expand Down
Binary file modified test/test_db-shm
Binary file not shown.
Binary file modified test/test_db-wal
Binary file not shown.
3 changes: 2 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ class TestApp < Rails::Application
config.action_controller.action_on_unpermitted_parameters = :raise

ActiveRecord::Schema.verbose = false
config.active_record.schema_format = :none
# Rails 8.0+ removed :none as a valid schema_format option
config.active_record.schema_format = Rails::VERSION::MAJOR >= 8 ? :ruby : :none
config.active_support.test_order = :random

config.active_support.halt_callback_chains_on_return_false = false
Expand Down