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
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-01-04 14:48:24 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-01-04 14:48:24 +0300
commit1994c0323af72ff9b3667f5d9f45a99ae09986d4 (patch)
tree6472faf851c6d9c1c3fe061b17b8eb68e96e9357 /spec/factories
parent37a618961a73a099a90e43bb78a67205b117c8a3 (diff)
Add test example for pipeline with yaml errors
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/ci/pipelines.rb4
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