Commit 080cbda5 authored by Marin Jankovski's avatar Marin Jankovski

Drop the spec in YamlProcessor that reads current .gitlab-ci.yaml. If the...

Drop the spec in YamlProcessor that reads current .gitlab-ci.yaml. If the .yaml file is not valid, specs would not run in CI.
parent f32bbfbb
......@@ -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) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment