From 3046ea9f33ec88d3fdb13efc4a427d140921adc0 Mon Sep 17 00:00:00 2001 From: Brigitte Jellinek Date: Mon, 23 Mar 2020 07:10:23 +0100 Subject: [PATCH] fix README.md: dry_run goes into test.rb, not application.rb adding RSpec.configure to application.rb can lead to problems in production, where rspec may not be present. config/environments/test.rb avoids these problems. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5018d3a..1a9b306 100644 --- a/README.md +++ b/README.md @@ -454,7 +454,7 @@ end ``` You need to disable --dry-run option for Rspec > 3 -Add to application.rb: +Add to config/environments/test.rb: ```ruby RSpec.configure do |config| config.swagger_dry_run = false