Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/contracts/provider/pact_helpers/project/pipeline/index/get_list_project_pipelines_helper.rb')
-rw-r--r--spec/contracts/provider/pact_helpers/project/pipeline/index/get_list_project_pipelines_helper.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/contracts/provider/pact_helpers/project/pipeline/index/get_list_project_pipelines_helper.rb b/spec/contracts/provider/pact_helpers/project/pipeline/index/get_list_project_pipelines_helper.rb
new file mode 100644
index 00000000000..80cbbe3b4dd
--- /dev/null
+++ b/spec/contracts/provider/pact_helpers/project/pipeline/index/get_list_project_pipelines_helper.rb
@@ -0,0 +1,16 @@
+# frozen_string_literal: true
+
+require_relative '../../../../spec_helper'
+require_relative '../../../../states/project/pipeline/index_state'
+
+module Provider
+ module GetListProjectPipelinesHelper
+ Pact.service_provider "GET List project pipelines" do
+ app { Environments::Test.app }
+
+ honours_pact_with 'Pipelines#index' do
+ pact_uri '../contracts/project/project/pipeline/index/pipelines#index-get_list_project_pipelines.json'
+ end
+ end
+ end
+end