Add support for ActiveStorage (PR #852)

This commit is contained in:
Patrick Gansterer 2022-01-31 08:44:53 +01:00 committed by GitHub
parent 7574f4eb07
commit 19efd68c5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 122 additions and 0 deletions

View file

@ -31,6 +31,10 @@ Rails.application.configure do
# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false
# Store uploaded files on the local file system in a temporary directory
config.active_storage.service = :test
config.action_mailer.perform_caching = false
# Tell Action Mailer not to deliver emails to the real world.