diff --git a/CHANGELOG.md b/CHANGELOG.md index d8a0a7e3..e03dbb40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ * Get rid of activesupport dependency ([#230](https://github.com/railsconfig/config/pull/230)) * Ignore .local files in test environment ([#135](https://github.com/railsconfig/config/issues/135), [#233](https://github.com/railsconfig/config/pull/233)) +### Bug fixes + +* Fix warnings when running tests in Rails 5 scope ([#240](https://github.com/railsconfig/config/issues/240) + ## 2.0.0 ### BREAKING CHANGES diff --git a/spec/app/rails_5/config/initializers/new_framework_defaults.rb b/spec/app/rails_5/config/initializers/new_framework_defaults.rb index 0706cafd..07c4d903 100644 --- a/spec/app/rails_5/config/initializers/new_framework_defaults.rb +++ b/spec/app/rails_5/config/initializers/new_framework_defaults.rb @@ -18,7 +18,10 @@ Rails.application.config.active_record.belongs_to_required_by_default = true # Do not halt callback chains when a callback returns false. Previous versions had true. -ActiveSupport.halt_callback_chains_on_return_false = false +# ActiveSupport.halt_callback_chains_on_return_false = false # Configure SSL options to enable HSTS with subdomains. Previous versions had false. Rails.application.config.ssl_options = { hsts: { subdomains: true } } + +# Fix warning +Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true