diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-01-04 14:48:24 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-01-04 14:48:24 +0300 |
commit | 1994c0323af72ff9b3667f5d9f45a99ae09986d4 (patch) | |
tree | 6472faf851c6d9c1c3fe061b17b8eb68e96e9357 /spec/factories | |
parent | 37a618961a73a099a90e43bb78a67205b117c8a3 (diff) |
Add test example for pipeline with yaml errors
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/pipelines.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/ci/pipelines.rb b/spec/factories/ci/pipelines.rb index 6ed4f547d04..77404f46c92 100644 --- a/spec/factories/ci/pipelines.rb +++ b/spec/factories/ci/pipelines.rb @@ -36,6 +36,10 @@ FactoryGirl.define do # pipeline.config_processor if evaluator.config end + + trait :invalid do + config(rspec: nil) + end end end end |