Commit 4211bbda authored by Valery Sizov's avatar Valery Sizov

Fix specs during CE->EE

parent 88d53c0b
...@@ -51,12 +51,12 @@ module Ci ...@@ -51,12 +51,12 @@ module Ci
return error('No stages / jobs for this pipeline.') return error('No stages / jobs for this pipeline.')
end end
_create_pipeline(&block) _create_pipeline(source, &block)
end end
private private
def _create_pipeline def _create_pipeline(source)
Ci::Pipeline.transaction do Ci::Pipeline.transaction do
update_merge_requests_head_pipeline if pipeline.save update_merge_requests_head_pipeline if pipeline.save
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment