diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-10-18 11:06:32 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-10-18 11:07:32 +0200 |
commit | 2243f0e3deaf0c9557fdc971e566b5606e9e9c52 (patch) | |
tree | d30305d5491849830b5153828f518f2701c9a774 /spec/lib/gitlab/ci | |
parent | 5f502c3a82827ebd76e9585e5caa015753016c6a (diff) | |
download | gitlab-ce-2243f0e3deaf0c9557fdc971e566b5606e9e9c52.tar.gz |
Add IncludeError exception and use it in CI config
Diffstat (limited to 'spec/lib/gitlab/ci')
-rw-r--r-- | spec/lib/gitlab/ci/config_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/config_spec.rb b/spec/lib/gitlab/ci/config_spec.rb index 7a749a2ef6d..8925b17be58 100644 --- a/spec/lib/gitlab/ci/config_spec.rb +++ b/spec/lib/gitlab/ci/config_spec.rb @@ -200,7 +200,7 @@ describe Gitlab::Ci::Config do it 'raises error YamlProcessor validationError' do expect { config }.to raise_error( - ::Gitlab::Ci::YamlProcessor::ValidationError, + described_class::ConfigError, "Local file 'invalid' is not valid." ) end |