summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-03-26 08:58:37 +0000
committerPhil Hughes <me@iamphill.com>2019-03-26 08:58:37 +0000
commit9137dea187ef289588a01d50e4c68e94afbb61dc (patch)
tree5cabedef877a098db55eced9db286c6cc6ef438b /spec/requests
parentcafdb3e43000849a93027cd736b264ae8dc3169b (diff)
parent1a14e5230e5b7f705fc09c3baf46f6cf74ca3ad0 (diff)
downloadgitlab-ce-9137dea187ef289588a01d50e4c68e94afbb61dc.tar.gz
Merge branch '54916-extended-tooltip-for-merge-request-links' into 'master'
Resolve "Extended tooltip for merge request links" Closes #54916 See merge request gitlab-org/gitlab-ce!25221
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/api/graphql/project/merge_request_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/graphql/project/merge_request_spec.rb b/spec/requests/api/graphql/project/merge_request_spec.rb
index deb6abbc026..74820d39102 100644
--- a/spec/requests/api/graphql/project/merge_request_spec.rb
+++ b/spec/requests/api/graphql/project/merge_request_spec.rb
@@ -70,13 +70,13 @@ describe 'getting merge request information nested in a project' do
context 'when there are pipelines' do
before do
- pipeline = create(
+ create(
:ci_pipeline,
project: merge_request.source_project,
ref: merge_request.source_branch,
sha: merge_request.diff_head_sha
)
- merge_request.update!(head_pipeline: pipeline)
+ merge_request.update_head_pipeline
end
it 'has a head pipeline' do