Commit e21939fa authored by Sean McGivern's avatar Sean McGivern

Remove call to ProjectTeam#<< in MR API spec

parent ec94d906
......@@ -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