spec/dummy/config/environments/test.rb in beespew-2.0.0 vs spec/dummy/config/environments/test.rb in beespew-2.1.0

- old
+ new

@@ -12,11 +12,11 @@ # preloads Rails for running tests, you may have to set it to true. config.eager_load = false # Configure static asset server for tests with Cache-Control for performance. config.serve_static_files = true - config.static_cache_control = 'public, max-age=3600' + config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' } # Show full error reports and disable caching. config.consider_all_requests_local = true config.action_controller.perform_caching = false @@ -34,6 +34,8 @@ # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr # Raises error for missing translations # config.action_view.raise_on_missing_translations = true + + config.active_record.sqlite3.represent_boolean_as_integer = true if Rails.version.to_f >= 5.2 end