diff --git a/config/environments/test.rb b/config/environments/test.rb index 4ff9489..187047f 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -27,7 +27,7 @@ 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 = true # Store uploaded files on the local file system in a temporary directory. config.active_storage.service = :test