diff options
author | Stan Hu <stanhu@gmail.com> | 2017-07-11 08:01:10 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-07-11 08:02:13 -0700 |
commit | faf9543827450fcdeb463c8461ef4d483b03f84e (patch) | |
tree | 8b6ca9e35877196c45c7e8bb2514bcc8221d4329 /spec | |
parent | e17ac5705dd84ede3ae079051adcb66200457338 (diff) | |
download | gitlab-ce-faf9543827450fcdeb463c8461ef4d483b03f84e.tar.gz |
Use view=simple for simplifying merge requests API
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/api/merge_requests_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/merge_requests_spec.rb b/spec/requests/api/merge_requests_spec.rb index 850c22ff07f..9098ae6bcda 100644 --- a/spec/requests/api/merge_requests_spec.rb +++ b/spec/requests/api/merge_requests_spec.rb @@ -70,7 +70,7 @@ describe API::MergeRequests do end it "returns an array of all merge_requests using simple mode" do - get api("/projects/#{project.id}/merge_requests?simple=true", user) + get api("/projects/#{project.id}/merge_requests?view=simple", user) expect(response).to have_http_status(200) expect(response).to include_pagination_headers |