summaryrefslogtreecommitdiff
path: root/spec/javascripts/ide
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-08-02 08:49:10 +0100
committerPhil Hughes <me@iamphill.com>2018-08-02 08:49:10 +0100
commitf199e672a8f5ef962ccf7e9508e347e29f9316f0 (patch)
tree7058fbabd37524bbeacbcda5bcf0b122311d4202 /spec/javascripts/ide
parentcc04a18d655ed0cfa7e5a4f0eb7971c73325afd8 (diff)
downloadgitlab-ce-f199e672a8f5ef962ccf7e9508e347e29f9316f0.tar.gz
spec fixes
Diffstat (limited to 'spec/javascripts/ide')
-rw-r--r--spec/javascripts/ide/stores/mutations_spec.js3
1 files changed, 3 insertions, 0 deletions
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(),
});
});