summaryrefslogtreecommitdiff
path: root/spec/frontend
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-07-04 14:11:03 +0000
committerFatih Acet <acetfatih@gmail.com>2019-07-04 14:11:03 +0000
commit3c89dc99d9ac063feab29a25157280df53cd8f53 (patch)
tree0d1d51f1c8337c127137a8a7872cc4391630f7fd /spec/frontend
parent7646c43776c21e171d339e847f435f60dd1168a4 (diff)
downloadgitlab-ce-3c89dc99d9ac063feab29a25157280df53cd8f53.tar.gz
Copy content from BoardService to boardsStore
(cherry picked from commit 813299edd83ace98256b7fc9302f586f0dc2cabc)
Diffstat (limited to 'spec/frontend')
-rw-r--r--spec/frontend/boards/services/board_service_spec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/frontend/boards/services/board_service_spec.js b/spec/frontend/boards/services/board_service_spec.js
index de9fc998360..a8a322e7237 100644
--- a/spec/frontend/boards/services/board_service_spec.js
+++ b/spec/frontend/boards/services/board_service_spec.js
@@ -2,6 +2,7 @@ import BoardService from '~/boards/services/board_service';
import { TEST_HOST } from 'helpers/test_constants';
import AxiosMockAdapter from 'axios-mock-adapter';
import axios from '~/lib/utils/axios_utils';
+import boardsStore from '~/boards/stores/boards_store';
describe('BoardService', () => {
const dummyResponse = "without type checking this doesn't matter";
@@ -18,10 +19,11 @@ describe('BoardService', () => {
beforeEach(() => {
axiosMock = new AxiosMockAdapter(axios);
- service = new BoardService({
+ boardsStore.setEndpoints({
...endpoints,
boardId,
});
+ service = new BoardService();
});
describe('all', () => {