summaryrefslogtreecommitdiff
path: root/spec/javascripts/boards
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2019-05-31 15:53:04 +0000
committerLin Jen-Shin <godfat@godfat.org>2019-05-31 15:53:04 +0000
commitd7b277df46ffa3723a16159878958f9a825315e6 (patch)
tree89dac0eeecb620386d36c71fca7d9e4ea33ae3da /spec/javascripts/boards
parent5cd0e721f78310bc2bb810d17451f046270148d9 (diff)
parentbd4a3b6ebfbca9663f47940ea01b8304d68e4e38 (diff)
downloadgitlab-ce-d7b277df46ffa3723a16159878958f9a825315e6.tar.gz
Merge branch 'dz-scope-project-routes-3' into 'master'
Move some project routes under - scope See merge request gitlab-org/gitlab-ce!28830
Diffstat (limited to 'spec/javascripts/boards')
-rw-r--r--spec/javascripts/boards/mock_data.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/javascripts/boards/mock_data.js b/spec/javascripts/boards/mock_data.js
index 93a0f29af0a..9854cf49e97 100644
--- a/spec/javascripts/boards/mock_data.js
+++ b/spec/javascripts/boards/mock_data.js
@@ -47,7 +47,7 @@ export const BoardsMockData = {
},
],
},
- '/test/issue-boards/milestones.json': [
+ '/test/issue-boards/-/milestones.json': [
{
id: 1,
title: 'test',
@@ -58,10 +58,10 @@ export const BoardsMockData = {
'/test/-/boards/1/lists': listObj,
},
PUT: {
- '/test/issue-boards/board/1/lists{/id}': {},
+ '/test/issue-boards/-/board/1/lists{/id}': {},
},
DELETE: {
- '/test/issue-boards/board/1/lists{/id}': {},
+ '/test/issue-boards/-/board/1/lists{/id}': {},
},
};
@@ -71,7 +71,7 @@ export const boardsMockInterceptor = config => {
};
export const mockBoardService = (opts = {}) => {
- const boardsEndpoint = opts.boardsEndpoint || '/test/issue-boards/boards.json';
+ const boardsEndpoint = opts.boardsEndpoint || '/test/issue-boards/-/boards.json';
const listsEndpoint = opts.listsEndpoint || '/test/-/boards/1/lists';
const bulkUpdatePath = opts.bulkUpdatePath || '';
const boardId = opts.boardId || '1';