Add support for ActiveStorage (PR #852)
This commit is contained in:
parent
7574f4eb07
commit
19efd68c5f
10 changed files with 122 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue