diff options
author | Phil Hughes <me@iamphill.com> | 2018-01-15 20:06:38 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-01-15 20:06:38 +0300 |
commit | d53aea6bb40e7f08a5becc90a36932ad9b78b316 (patch) | |
tree | ab533d94ff52f6e98399fd3976e02f712d6efdd3 /spec/javascripts/merge_request_spec.js | |
parent | 5c51cbca06b099427e15309b352d01d960f641e3 (diff) |
Fixed merge request status badge not updating after merging
Diffstat (limited to 'spec/javascripts/merge_request_spec.js')
-rw-r--r-- | spec/javascripts/merge_request_spec.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/javascripts/merge_request_spec.js b/spec/javascripts/merge_request_spec.js index 9d6ea3781bc..71e793efd85 100644 --- a/spec/javascripts/merge_request_spec.js +++ b/spec/javascripts/merge_request_spec.js @@ -70,8 +70,7 @@ import IssuablesHelper from '~/helpers/issuables_helper'; beforeEach(() => { loadFixtures('merge_requests/merge_request_with_task_list.html.raw'); this.el = document.querySelector('.js-issuable-actions'); - const merge = new MergeRequest(); - merge.hideCloseButton(); + MergeRequest.hideCloseButton(); }); it('hides the dropdown close item and selects the next item', () => { |