Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-05-01 13:00:23 +0300
committerPhil Hughes <me@iamphill.com>2018-05-01 13:00:23 +0300
commitcac07a46e0bf5bad363f259973e532fc73351a8f (patch)
tree3192e21aec27f83e6656ac9be000a411952252c7 /spec
parentf55f199767ae9e7a3dc06341a4704ef000f359ae (diff)
fixed file spec
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/ide/components/repo_file_spec.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/javascripts/ide/components/repo_file_spec.js b/spec/javascripts/ide/components/repo_file_spec.js
index 719d0687140..28ff06e1f80 100644
--- a/spec/javascripts/ide/components/repo_file_spec.js
+++ b/spec/javascripts/ide/components/repo_file_spec.js
@@ -58,6 +58,11 @@ describe('RepoFile', () => {
projectId: 'project',
};
+ store.state.changedFiles.push({
+ ...file('fileName'),
+ path: 'testing/fileName',
+ });
+
createComponent({
file: f,
level: 0,