diff --git a/README.md b/README.md index 59b24386a..e0ff6f9d6 100644 --- a/README.md +++ b/README.md @@ -659,7 +659,7 @@ end ## Testing with CarrierWave It's a good idea to test your uploaders in isolation. In order to speed up your -tests, it's recommended to switch off processing in your tests, and to use the +tests, it's recommended to switch off processing in your tests, disable SSRF protection, and to use the file storage. In Rails you could do that by adding an initializer with: ```ruby @@ -667,6 +667,7 @@ if Rails.env.test? or Rails.env.cucumber? CarrierWave.configure do |config| config.storage = :file config.enable_processing = false + config.skip_ssrf_protection = true end end ```