Properly test with the default set of configurations of each Rails versions

This commit is contained in:
Akira Matsuda 2021-12-20 03:17:54 +09:00
parent 5a49dab35e
commit 6786e20733
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ require 'active_record/railtie' if defined? ActiveRecord
# config
class KaminariTestApp < Rails::Application
config.load_defaults "#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}" if config.respond_to? :load_defaults
config.secret_key_base = config.secret_token = '3b7cd727ee24e8444053437c36cc66c4'
config.session_store :cookie_store, key: '_myapp_session'
config.active_support.deprecation = :log