Commit 2f585071 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'fix-use-of-append-in-mr-api-spec' into 'master'

Remove call to ProjectTeam#<< in MR API spec

See merge request gitlab-org/gitlab-ce!16388
parents 0a51eae5 e21939fa
......@@ -585,7 +585,7 @@ describe API::MergeRequests do
project = create(:project, public_builds: false)
merge_request = create(:merge_request, :simple, source_project: project)
guest = create(:user)
project.team << [guest, :guest]
project.add_guest(guest)
get api("/projects/#{project.id}/merge_requests/#{merge_request.iid}/pipelines", guest)
......
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