18 lines
435 B
Ruby
18 lines
435 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
require_relative '../spec_helper'
|
||
|
|
||
|
module Provider
|
||
|
module DiscussionsHelper
|
||
|
local = Environments::Local.new
|
||
|
|
||
|
Pact.service_provider "Merge Request Discussions Endpoint" do
|
||
|
app { local.merge_request('/discussions.json') }
|
||
|
|
||
|
honours_pact_with 'Merge Request Page' do
|
||
|
pact_uri '../contracts/merge_request_page-merge_request_discussions_endpoint.json'
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|