Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests for status code change on Rack HEAD
Rack was recently [updated][1] with a deprecation for some status codes that have been renamed (most notably, Unprocessable Entity was renamed to Unprocessable Content). Since the deprecation was only added to the `#status_code` method, this has caused test failures for some tests that depend on the `SYMBOLS_TO_STATUS_CODE` hash. This commit replaces the usage of `SYMBOLS_TO_STATUS_CODE` with `#status_code` so that we get the deprecation message instead of a test failure. [1]: rack/rack@64ad26e
- Loading branch information