mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
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:
parent
63f01962ad
commit
3046ea9f33
@ -454,7 +454,7 @@ end
|
|||||||
```
|
```
|
||||||
You need to disable --dry-run option for Rspec > 3
|
You need to disable --dry-run option for Rspec > 3
|
||||||
|
|
||||||
Add to application.rb:
|
Add to config/environments/test.rb:
|
||||||
```ruby
|
```ruby
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
config.swagger_dry_run = false
|
config.swagger_dry_run = false
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user