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
path: root/spec
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2018-06-28 13:01:16 +0300
committerMarin Jankovski <maxlazio@gmail.com>2018-06-28 13:01:16 +0300
commit080cbda585eef9df4934f9670c4967d26eb42545 (patch)
tree565133389fdf81c848055645b60f8e61fe2511fb /spec
parentf32bbfbbe8d68b602fcb2810e7732dcb57626fa4 (diff)
Drop the spec in YamlProcessor that reads current .gitlab-ci.yaml. If the .yaml file is not valid, specs would not run in CI.
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/ci/yaml_processor_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/lib/gitlab/ci/yaml_processor_spec.rb b/spec/lib/gitlab/ci/yaml_processor_spec.rb
index fa5327c26f0..e73cdc54a15 100644
--- a/spec/lib/gitlab/ci/yaml_processor_spec.rb
+++ b/spec/lib/gitlab/ci/yaml_processor_spec.rb
@@ -5,16 +5,6 @@ module Gitlab
describe YamlProcessor do
subject { described_class.new(config) }
- describe 'our current .gitlab-ci.yml' do
- let(:config) { File.read("#{Rails.root}/.gitlab-ci.yml") }
-
- it 'is valid' do
- error_message = described_class.validation_message(config)
-
- expect(error_message).to be_nil
- end
- end
-
describe '#build_attributes' do
subject { described_class.new(config).build_attributes(:rspec) }