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:
authorGilbert Roulot <groulot@gitlab.com>2018-11-05 16:45:36 +0300
committerKamil TrzciƄski <ayufan@ayufan.eu>2018-12-11 13:39:22 +0300
commite6226e8cb3d7e79500482ba2cef604133f667381 (patch)
treeacf0f3d0b822f122da9125333f210ccce477c0d0 /spec/lib/gitlab/ci/parsers
parent85f430cb3cde4ff8c4d24c1b2a426670e38dd44f (diff)
Generalise test compare service
It adds a base class for CompareTestReportsService containing common code with CompareLicenseManagementReportsService which is present in GitLab Enterprise Edition.
Diffstat (limited to 'spec/lib/gitlab/ci/parsers')
-rw-r--r--spec/lib/gitlab/ci/parsers/test_spec.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/spec/lib/gitlab/ci/parsers/test_spec.rb b/spec/lib/gitlab/ci/parsers/test_spec.rb
deleted file mode 100644
index 0b85b432677..00000000000
--- a/spec/lib/gitlab/ci/parsers/test_spec.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-require 'spec_helper'
-
-describe Gitlab::Ci::Parsers::Test do
- describe '.fabricate!' do
- subject { described_class.fabricate!(file_type) }
-
- context 'when file_type exists' do
- let(:file_type) { 'junit' }
-
- it 'fabricates the class' do
- is_expected.to be_a(described_class::Junit)
- end
- end
-
- context 'when file_type does not exist' do
- let(:file_type) { 'undefined' }
-
- it 'raises an error' do
- expect { subject }.to raise_error(Gitlab::Ci::Parsers::Test::ParserNotFoundError)
- end
- end
- end
-end