diff options
author | winh <winnie@gitlab.com> | 2017-05-09 14:34:08 +0200 |
---|---|---|
committer | winh <winnie@gitlab.com> | 2017-05-11 12:47:31 +0200 |
commit | 75e613459df3ef8630800af29e11ea3767d92d7f (patch) | |
tree | 4fc7a216924320a7514c6e25fdca475ac710d68c /spec/javascripts/sidebar/sidebar_assignees_spec.js | |
parent | aec53bab05afd0a20b15bd9311643f8bf5efd140 (diff) | |
download | gitlab-ce-75e613459df3ef8630800af29e11ea3767d92d7f.tar.gz |
Add missing tear down of sidebarMockInterceptor (!11204)winh-sidebar-mock-fix
Diffstat (limited to 'spec/javascripts/sidebar/sidebar_assignees_spec.js')
-rw-r--r-- | spec/javascripts/sidebar/sidebar_assignees_spec.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/javascripts/sidebar/sidebar_assignees_spec.js b/spec/javascripts/sidebar/sidebar_assignees_spec.js index e0df0a3228f..865951b2ad7 100644 --- a/spec/javascripts/sidebar/sidebar_assignees_spec.js +++ b/spec/javascripts/sidebar/sidebar_assignees_spec.js @@ -24,6 +24,7 @@ describe('sidebar assignees', () => { SidebarService.singleton = null; SidebarStore.singleton = null; SidebarMediator.singleton = null; + Vue.http.interceptors = _.without(Vue.http.interceptors, Mock.sidebarMockInterceptor); }); it('calls the mediator when saves the assignees', () => { |