summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-07-11 08:01:10 -0700
committerStan Hu <stanhu@gmail.com>2017-07-11 08:02:13 -0700
commitfaf9543827450fcdeb463c8461ef4d483b03f84e (patch)
tree8b6ca9e35877196c45c7e8bb2514bcc8221d4329 /spec
parente17ac5705dd84ede3ae079051adcb66200457338 (diff)
downloadgitlab-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.rb2
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