spec/dummy/config/environments/test.rb in alchemy_cms-3.0.4 vs spec/dummy/config/environments/test.rb in alchemy_cms-3.1.0.beta1
- old
+ new
@@ -3,11 +3,11 @@
# The test environment is used exclusively to run your application's
# 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.cache_classes = 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
@@ -31,6 +31,8 @@
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr
+
+ I18n.enforce_available_locales = false
end