Commit 58e83c3d authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by Kushal Pandya

Replace board service in issue spec.js

parent 59014e79
---
title: removes references of BoardService
merge_request: 20876
author: nuwe1
type: other
...@@ -7,13 +7,13 @@ import '~/boards/models/issue'; ...@@ -7,13 +7,13 @@ import '~/boards/models/issue';
import '~/boards/models/list'; import '~/boards/models/list';
import '~/boards/services/board_service'; import '~/boards/services/board_service';
import boardsStore from '~/boards/stores/boards_store'; import boardsStore from '~/boards/stores/boards_store';
import { mockBoardService } from './mock_data'; import { setMockEndpoints } from './mock_data';
describe('Issue model', () => { describe('Issue model', () => {
let issue; let issue;
beforeEach(() => { beforeEach(() => {
gl.boardService = mockBoardService(); setMockEndpoints();
boardsStore.create(); boardsStore.create();
issue = new ListIssue({ issue = new ListIssue({
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment