From c8b16068be28699da42e1d19a02dc913071919ac Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Wed, 21 Dec 2016 14:26:47 +0100 Subject: Add specs for pipeline entity and improve factory [ci skip] --- spec/factories/ci/pipelines.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec/factories/ci') 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 -- cgit v1.2.3