Skip to content

Commit 6f332b6

Browse files
committed
Update changelog
1 parent 6b604f3 commit 6f332b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
Changes:
88
- Changed OpenapiFirst::Test to raises an "invalid response" error if it sees an invalid response (https://github.com/ahx/openapi_first/issues/366).
99
You can change this back to the old behavior by setting `OpenapiFirst::Test::Configuration#response_raise_error = false` (but you shouldn't).
10-
- Added `Test.setup { it.observe(MyApp) }` and internal `Test.observe(App, api: :my_api)`, `Test::Callable[]` to inject request/response validation in rack app as an alternative to overwrite the `app` method in a test
11-
- Added `Test::Configuration#ignored_unknown_status` to configure response status(es) that do not have to be descriped in the API description.
10+
- Added `Test.setup { it.observe(MyApp) }`, `Test.observe(App, api: :my_api)` and internal `Test::Callable[]` to inject request/response validation in rack app as an alternative to overwrite the `app` method in a test
11+
- Added `Test::Configuration#ignored_unknown_status` to configure response status(es) that do not have to be descriped in the API description. 404 statuses are ignored by default.
1212
- Changed `OpenapiFirst::Test` to make tests fail if API description is not covered by tests. You can adapt this behavior via `OpenapiFirst::Test.setup` / `skip_response_coverage` or deactivate coverage with `OpenapiFirst::Test::Configuration#report_coverage = false` or `report_coverage = :warn`
1313

1414
## 2.7.4

0 commit comments

Comments
 (0)