Skip to content

Commit 4575eae

Browse files
committed
cleanup fixture in afterhook
1 parent 8c49938 commit 4575eae

14 files changed

+14
-1
lines changed

.hound.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
javascript:
2-
config_file: .jshintrc
2+
config_file: .jshintrc

test/search/autoscroll.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ describe('Autoscroll', function () {
2020

2121
after(function(){
2222
this.stub.restore();
23+
fixture.cleanup();
2324
});
2425

2526
beforeEach(function(){

test/search/banner.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ describe('Banners', function () {
1717

1818
after(function(){
1919
this.stub.restore();
20+
fixture.cleanup();
2021
});
2122

2223
beforeEach(function(){

test/search/clickNscroll.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ describe('clickNScroll', function () {
2323

2424
after(function(){
2525
this.stub.restore();
26+
fixture.cleanup();
2627
});
2728

2829
beforeEach(function(){

test/search/facets.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ describe('Facets', function () {
2626

2727
after(function(){
2828
this.stub.restore();
29+
fixture.cleanup();
2930
});
3031

3132
beforeEach(function(){

test/search/init.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ describe('On Init', function () {
2525

2626
after(function(){
2727
this.stub.restore();
28+
fixture.cleanup();
2829
});
2930

3031
it('Should call onIntialResultLoad', function(){

test/search/noResult.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ describe('No results', function () {
2020

2121
after(function(){
2222
this.stub.restore();
23+
fixture.cleanup();
2324
});
2425

2526
it('Should call onNoResult',function(){

test/search/pageSize.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ describe('PageSize', function () {
2020

2121
after(function(){
2222
this.stub.restore();
23+
fixture.cleanup();
2324
});
2425

2526
beforeEach(function(){

test/search/pagination.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ describe('Pagination', function () {
2525

2626
after(function(){
2727
this.stub.restore();
28+
fixture.cleanup();
2829
});
2930

3031
beforeEach(function(){

test/search/redirect.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ describe('Redirect', function () {
2727
after(function(){
2828
this.stub.restore();
2929
this.stubInternalPaintResultSet.restore();
30+
fixture.cleanup();
3031
});
3132

3233
it('Should not call onIntialResultLoad',function(){

0 commit comments

Comments
 (0)