summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-21 14:26:47 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-21 14:26:47 +0100
commitc8b16068be28699da42e1d19a02dc913071919ac (patch)
treeb265fba4ab8e19e4d795231f439e9231daf2e9eb /spec/factories
parent9f47d317c547eb49c59e01f9c5a887b9ffb7f500 (diff)
downloadgitlab-ce-c8b16068be28699da42e1d19a02dc913071919ac.tar.gz
Add specs for pipeline entity and improve factory
[ci skip]
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 1735791f644..6ed4f547d04 100644
--- a/spec/factories/ci/pipelines.rb
+++ b/spec/factories/ci/pipelines.rb
@@ -31,6 +31,10 @@ FactoryGirl.define do
File.read(Rails.root.join('spec/support/gitlab_stubs/gitlab_ci.yml'))
end
end
+
+ # Populates pipeline with errors
+ #
+ pipeline.config_processor if evaluator.config
end
end
end