summaryrefslogtreecommitdiff
path: root/spec/finders
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-08 12:07:59 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-08 12:07:59 +0000
commite3e300557f5def9bf2271735c8a620e6820dfada (patch)
tree8d0d4590518ee17eb32956e35637e11a2b8ca561 /spec/finders
parenta821bd6ad17e304ca93838a411410a44ee9cff9f (diff)
downloadgitlab-ce-e3e300557f5def9bf2271735c8a620e6820dfada.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/finders')
-rw-r--r--spec/finders/pipelines_finder_spec.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/finders/pipelines_finder_spec.rb b/spec/finders/pipelines_finder_spec.rb
index 1dbf9491118..c8a4ea799c3 100644
--- a/spec/finders/pipelines_finder_spec.rb
+++ b/spec/finders/pipelines_finder_spec.rb
@@ -64,19 +64,6 @@ describe PipelinesFinder do
end
end
- context 'when project has child pipelines' do
- let!(:parent_pipeline) { create(:ci_pipeline, project: project) }
- let!(:child_pipeline) { create(:ci_pipeline, project: project, source: :parent_pipeline) }
-
- let!(:pipeline_source) do
- create(:ci_sources_pipeline, pipeline: child_pipeline, source_pipeline: parent_pipeline)
- end
-
- it 'filters out child pipelines and show only the parents' do
- is_expected.to eq([parent_pipeline])
- end
- end
-
HasStatus::AVAILABLE_STATUSES.each do |target|
context "when status is #{target}" do
let(:params) { { status: target } }