diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-03-22 16:36:14 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-05-08 11:26:04 -0300 |
commit | 24824cbb4c6d2c5ebd08dea03007f65c5df763da (patch) | |
tree | 618cc1a50e76126e4aff941bd538a31917e5282b /spec/requests | |
parent | 85f0b3a984048d1e5d146a233612a0bc96f12b5c (diff) | |
download | gitlab-ce-24824cbb4c6d2c5ebd08dea03007f65c5df763da.tar.gz |
Fix Specs
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/projects/cycle_analytics_events_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/projects/cycle_analytics_events_spec.rb b/spec/requests/projects/cycle_analytics_events_spec.rb index c5a45949841..d92daa345b3 100644 --- a/spec/requests/projects/cycle_analytics_events_spec.rb +++ b/spec/requests/projects/cycle_analytics_events_spec.rb @@ -122,6 +122,7 @@ describe 'cycle analytics events', api: true do mr = create_merge_request_closing_issue(issue, commit_message: "References #{issue.to_reference}") pipeline = create(:ci_empty_pipeline, status: 'created', project: project, ref: mr.source_branch, sha: mr.source_branch_sha) + mr.update(head_pipeline_id: pipeline.id) pipeline.run create(:ci_build, pipeline: pipeline, status: :success, author: user) |