summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-08-07 22:30:40 -0500
committerMike Greiling <mike@pixelcog.com>2017-08-07 22:30:40 -0500
commit1375db509a4cd30d759d588ee85a8aec2771d78a (patch)
tree6f17cbfbb74d51c5882fd5151b5b79cd5aaebb86
parent24ac2ea80d9ad4e624940c9a671f92e9f15c364c (diff)
downloadgitlab-ce-1375db509a4cd30d759d588ee85a8aec2771d78a.tar.gz
fix repo_edit_button_spec.js
-rw-r--r--spec/javascripts/repo/components/repo_edit_button_spec.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/javascripts/repo/components/repo_edit_button_spec.js b/spec/javascripts/repo/components/repo_edit_button_spec.js
index b6f47bfd87c..df2f9697acc 100644
--- a/spec/javascripts/repo/components/repo_edit_button_spec.js
+++ b/spec/javascripts/repo/components/repo_edit_button_spec.js
@@ -11,6 +11,7 @@ describe('RepoEditButton', () => {
it('renders an edit button that toggles the view state', (done) => {
RepoStore.isCommitable = true;
+ RepoStore.changedFiles = [];
const vm = createComponent();