Sha256: 3d51f06aa7ae14d2a9719d18cc58235404712d6b1b31ba34c6e739c3cc85719a
Contents?: true
Size: 416 Bytes
Versions: 37
Compression:
Stored size: 416 Bytes
Contents
require 'spec_helper' require 'flapjack/gateways/jsonapi' describe 'Flapjack::Gateways::JSONAPI', :sinatra => true, :logger => true do include_context "jsonapi" it "handles a route matching failure" do aget "/this/route/doesn't/exist" expect(last_response.status).to eq(404) end it "rejects a POST request with invalid content type" it "rejects a PATCH request with invalid content type" end
Version data entries
37 entries across 37 versions & 1 rubygems