blob: 2af960bc9fd918e4962182beace3e44fc4352f9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# frozen_string_literal: true
require_relative '../../../../spec_helper'
require_relative '../../../../states/project/pipeline/new_state'
module Provider
module CreateNewPipelineHelper
Pact.service_provider "POST Create a new pipeline" do
app { Environments::Test.app }
honours_pact_with 'Pipelines#new' do
pact_uri '../contracts/project/pipeline/new/pipelines#new-post_create_a_new_pipeline.json'
end
app_version Provider::PublishContractHelper::PROVIDER_VERSION
app_version_branch Provider::PublishContractHelper::PROVIDER_BRANCH
publish_verification_results Provider::PublishContractHelper::PUBLISH_FLAG
end
end
end
|