BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
010a3497
Commit
010a3497
authored
May 11, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'winh-sidebar-mock-fix' into 'master'
Add missing tear down of sidebarMockInterceptor Closes #32020 See merge request !11204
parents
ea5d43a3
75e61345
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
sidebar_assignees_spec.js
spec/javascripts/sidebar/sidebar_assignees_spec.js
+1
-0
sidebar_mediator_spec.js
spec/javascripts/sidebar/sidebar_mediator_spec.js
+1
-0
sidebar_service_spec.js
spec/javascripts/sidebar/sidebar_service_spec.js
+1
-0
No files found.
spec/javascripts/sidebar/sidebar_assignees_spec.js
View file @
010a3497
...
...
@@ -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'
,
()
=>
{
...
...
spec/javascripts/sidebar/sidebar_mediator_spec.js
View file @
010a3497
...
...
@@ -14,6 +14,7 @@ describe('Sidebar mediator', () => {
SidebarService
.
singleton
=
null
;
SidebarStore
.
singleton
=
null
;
SidebarMediator
.
singleton
=
null
;
Vue
.
http
.
interceptors
=
_
.
without
(
Vue
.
http
.
interceptors
,
Mock
.
sidebarMockInterceptor
);
});
it
(
'assigns yourself '
,
()
=>
{
...
...
spec/javascripts/sidebar/sidebar_service_spec.js
View file @
010a3497
...
...
@@ -10,6 +10,7 @@ describe('Sidebar service', () => {
afterEach
(()
=>
{
SidebarService
.
singleton
=
null
;
Vue
.
http
.
interceptors
=
_
.
without
(
Vue
.
http
.
interceptors
,
Mock
.
sidebarMockInterceptor
);
});
it
(
'gets the data'
,
(
done
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment