debian-mirror-gitlab/qa/contracts/provider/spec/metadata_helper.rb
2022-05-07 20:08:51 +05:30

17 lines
429 B
Ruby

# frozen_string_literal: true
require_relative '../spec_helper'
module Provider
module MetadataHelper
local = Environments::Local.new
Pact.service_provider "Merge Request Metadata Endpoint" do
app { local.merge_request('/diffs_metadata.json') }
honours_pact_with 'Merge Request Page' do
pact_uri '../contracts/merge_request_page-merge_request_metadata_endpoint.json'
end
end
end
end