diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2019-05-31 15:53:04 +0000 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-05-31 15:53:04 +0000 |
commit | d7b277df46ffa3723a16159878958f9a825315e6 (patch) | |
tree | 89dac0eeecb620386d36c71fca7d9e4ea33ae3da /spec/javascripts/boards | |
parent | 5cd0e721f78310bc2bb810d17451f046270148d9 (diff) | |
parent | bd4a3b6ebfbca9663f47940ea01b8304d68e4e38 (diff) | |
download | gitlab-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.js | 8 |
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'; |