spec/dummy/config/environments/test.rb in spina-admin-conferences-blog-0.1.4 vs spec/dummy/config/environments/test.rb in spina-admin-conferences-blog-0.2.0
- old
+ new
@@ -27,9 +27,13 @@
# 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.active_storage.service = :test
+ config.active_storage.resolve_model_to_route = :rails_storage_proxy
+
config.action_mailer.perform_caching = 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.