Remove call to ProjectTeam#<< in MR API spec

This commit is contained in:
Sean McGivern 2018-01-11 12:28:28 +00:00
parent ec94d906b7
commit e21939fa44

View file

@ -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)