Commit 98fa16d1 authored by Simon Knox's avatar Simon Knox

fix some karma tests

parent 74e3b8e2
...@@ -14,7 +14,7 @@ import '~/boards/stores/boards_store'; ...@@ -14,7 +14,7 @@ import '~/boards/stores/boards_store';
import boardCard from '~/boards/components/board_card'; import boardCard from '~/boards/components/board_card';
import { mockBoardService } from './mock_data'; import { mockBoardService } from './mock_data';
fdescribe('Board card', () => { describe('Board card', () => {
let vm; let vm;
beforeEach((done) => { beforeEach((done) => {
......
...@@ -17,7 +17,7 @@ import '~/boards/services/board_service'; ...@@ -17,7 +17,7 @@ import '~/boards/services/board_service';
import '~/boards/stores/boards_store'; import '~/boards/stores/boards_store';
import { mockBoardService } from './mock_data'; import { mockBoardService } from './mock_data';
describe('Store', () => { fdescribe('Store', () => {
beforeEach(() => { beforeEach(() => {
Vue.http.interceptors.push(boardsMockInterceptor); Vue.http.interceptors.push(boardsMockInterceptor);
gl.boardService = mockBoardService(); gl.boardService = mockBoardService();
...@@ -78,7 +78,7 @@ describe('Store', () => { ...@@ -78,7 +78,7 @@ describe('Store', () => {
it('persists new list', (done) => { it('persists new list', (done) => {
gl.issueBoards.BoardsStore.new({ gl.issueBoards.BoardsStore.new({
title: 'Test', title: 'Test',
type: 'label', list_type: 'label',
label: { label: {
id: 1, id: 1,
title: 'Testing', title: 'Testing',
......
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