Sha256: 57aeeda5a536fac254b32bc705aa9c2c9adb27a9cc71de3e1e83dfaea6cf12f0
Contents?: true
Size: 389 Bytes
Versions: 12
Compression:
Stored size: 389 Bytes
Contents
require "rack/pact_broker/add_pact_broker_version_header" module Rack module PactBroker describe AddPactBrokerVersionHeader do let(:app) { AddPactBrokerVersionHeader.new(->(_env){[200, {}, []]}) } it "adds the PactBroker version as a header" do get "/" expect(last_response.headers["X-Pact-Broker-Version"]).to match(/\d/) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems