From 1375db509a4cd30d759d588ee85a8aec2771d78a Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Mon, 7 Aug 2017 22:30:40 -0500 Subject: [PATCH] fix repo_edit_button_spec.js --- spec/javascripts/repo/components/repo_edit_button_spec.js | 1 + 1 file changed, 1 insertion(+) 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();