Specify Content-Type in spec because Rails 5 requires this
As seen in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9050#note_129567467, ActionPack::Dispatch in Rails 5 requires a content-type to parse the Rack input, while Rack itself does not.
Showing
Please register or sign in to comment