From f199e672a8f5ef962ccf7e9508e347e29f9316f0 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Thu, 2 Aug 2018 08:49:10 +0100 Subject: [PATCH] spec fixes --- spec/javascripts/ide/stores/mutations_spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/javascripts/ide/stores/mutations_spec.js b/spec/javascripts/ide/stores/mutations_spec.js index d15a1253d50..1e836dbc3f9 100644 --- a/spec/javascripts/ide/stores/mutations_spec.js +++ b/spec/javascripts/ide/stores/mutations_spec.js @@ -206,6 +206,7 @@ describe('Multi-file store mutations', () => { it('adds to changedFiles', () => { localState.entries.filePath = { deleted: false, + type: 'blob', }; mutations.DELETE_ENTRY(localState, 'filePath'); @@ -263,6 +264,7 @@ describe('Multi-file store mutations', () => { localState.entries.oldPath = { ...file(), type: 'blob', + name: 'oldPath', path: 'oldPath', url: `${gl.TEST_HOST}/oldPath`, }; @@ -283,6 +285,7 @@ describe('Multi-file store mutations', () => { parentPath: '', url: `${gl.TEST_HOST}/newPath`, moved: jasmine.anything(), + movedPath: jasmine.anything(), }); });