Sha256: 3f1696d2337923769e1cef418c114ef4ff1ef717edfa508445143f7f9e1a4d10
Contents?: true
Size: 658 Bytes
Versions: 12
Compression:
Stored size: 658 Bytes
Contents
describe "retrieving the latest untagged pact" do let(:path) { "/pacts/provider/Provider/consumer/Consumer/latest-untagged"} subject { get path; last_response } let(:json_response_body) { JSON.parse(subject.body, symbolize_names: true) } before do TestDataBuilder.new .create_consumer("Consumer") .create_provider("Provider") .create_consumer_version("1.2.3") .create_pact .create_consumer_version("4.5.6") .create_consumer_version_tag("prod") .create_pact end it "returns the latest untagged pact version" do expect(json_response_body[:_links][:self][:href]).to end_with("1.2.3") end end
Version data entries
12 entries across 12 versions & 1 rubygems