We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b584d00 + 462aa09 commit 2631981Copy full SHA for 2631981
README.md
@@ -155,7 +155,7 @@ Here is how to set it up with [rack-test](https://github.com/rack/rack-test):
155
1. Register all OpenAPI documents to track coverage for. This should go at the top of your test helper file before loading your application code.
156
```ruby
157
require 'openapi_first'
158
- OpenapiFirst::Test.setup do |s|
+ OpenapiFirst::Test.setup do |test|
159
test.register('openapi/openapi.yaml')
160
test.minimum_coverage = 100 # (Optional) Setting this will lead to an `exit 2` if coverage is below minimum
161
test.skip_response_coverage { it.status == '500' } # (Optional) Skip certain responses
0 commit comments