spec/dummy/config/environments/test.rb in doorkeeper-mongodb-4.2.0 vs spec/dummy/config/environments/test.rb in doorkeeper-mongodb-5.0.0
- old
+ new
@@ -5,10 +5,14 @@
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test suite and is wiped
# and recreated between test runs. Don't rely on the data there!
config.cache_classes = true
+ config.assets.enabled = true
+ config.assets.version = '1.0'
+ config.assets.digest = false
+
# Do not eager load code on boot. This avoids loading your whole application
# just for the purpose of running a single test. If you are using a tool that
# preloads Rails for running tests, you may have to set it to true.
config.eager_load = false
@@ -18,11 +22,11 @@
# Raise exceptions instead of rendering exception templates
config.action_dispatch.show_exceptions = false
# Disable request forgery protection in test environment
- config.action_controller.allow_forgery_protection = false
+ config.action_controller.allow_forgery_protection = false
# Tell Action Mailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
# config.action_mailer.delivery_method = :test
@@ -34,11 +38,6 @@
# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
config.eager_load = true
-
- if DOORKEEPER_ORM == :active_record
- config.active_record.table_name_prefix = TABLE_NAME_PREFIX.to_s
- config.active_record.table_name_suffix = TABLE_NAME_SUFFIX.to_s
- end
end