summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/ci/parsers_spec.rb
diff options
context:
space:
mode:
authorOlivier Gonzalez <ogonzalez@gitlab.com>2018-09-27 21:15:08 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2018-09-27 21:15:08 +0000
commitcfedc0a9f4732afbf39fdf96e9b6a8598faeba5f (patch)
tree001b6eb5fd448bc6389842bbe1d03b8587a6b55b /spec/lib/gitlab/ci/parsers_spec.rb
parent79498893832db7a88e07d8f3e7a629944c80705b (diff)
downloadgitlab-ce-cfedc0a9f4732afbf39fdf96e9b6a8598faeba5f.tar.gz
Extend reports to support security features
Diffstat (limited to 'spec/lib/gitlab/ci/parsers_spec.rb')
-rw-r--r--spec/lib/gitlab/ci/parsers_spec.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/spec/lib/gitlab/ci/parsers_spec.rb b/spec/lib/gitlab/ci/parsers_spec.rb
deleted file mode 100644
index 2fa83c4abae..00000000000
--- a/spec/lib/gitlab/ci/parsers_spec.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-require 'spec_helper'
-
-describe Gitlab::Ci::Parsers 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(NameError)
- end
- end
- end
-end