Sha256: fc3e22ea79f1a52c41b04beffd9583474e2cbf1da8db67b5cb7035f50178746e
Contents?: true
Size: 348 Bytes
Versions: 4
Compression:
Stored size: 348 Bytes
Contents
RSpec::Matchers.define :have_json_content_type do match do |response| response_headers['Content-Type'] == 'application/json; charset=utf-8' end description do "include 'Content-Type': 'application/json; charset=utf-8'" end failure_message_for_should do |item| %Q(should #{description}, but are #{response_headers}) end end
Version data entries
4 entries across 4 versions & 1 rubygems