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.
This commit is contained in:
Brigitte Jellinek 2020-03-23 07:10:23 +01:00 committed by GitHub
parent 63f01962ad
commit 3046ea9f33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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