Commit daff9851 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'Replace-BoardService_in_issue_spec.js' into 'master'

Replace board service in issue spec.js

See merge request gitlab-org/gitlab!20876
parents 59014e79 58e83c3d
---
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