summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-03-14 15:57:01 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-03-14 15:57:01 +0000
commitffcddb295950729dbc4ee7a3c0e32f7dec00da99 (patch)
tree65517ca71234d36700bdaa7a5b9a210e61b528e2 /spec
parentb8a54fc002aea16bf5024c8749007a0b6f8f7141 (diff)
parent435458d2b14eadd1768b7b0a14f5966633f02f83 (diff)
downloadgitlab-ce-ffcddb295950729dbc4ee7a3c0e32f7dec00da99.tar.gz
Merge branch '28864-use-the-v4-api-from-the-frontend' into 'master'
Resolve "Use the v4 API from the frontend" Closes #28864 See merge request !9714
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/project_title_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/project_title_spec.js b/spec/javascripts/project_title_spec.js
index 69d9587771f..3a1d4e2440f 100644
--- a/spec/javascripts/project_title_spec.js
+++ b/spec/javascripts/project_title_spec.js
@@ -26,7 +26,7 @@ require('~/project');
var fakeAjaxResponse = function fakeAjaxResponse(req) {
var d;
expect(req.url).toBe('/api/v3/projects.json?simple=true');
- expect(req.data).toEqual({ search: '', order_by: 'last_activity_at', per_page: 20 });
+ expect(req.data).toEqual({ search: '', order_by: 'last_activity_at', per_page: 20, membership: true });
d = $.Deferred();
d.resolve(this.projects_data);
return d.promise();