Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 956c727

Browse files
committed
fixup! feat($route): add support for the reloadOnUrl configuration option
1 parent c767d3e commit 956c727

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

test/ngRoute/routeSpec.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -1878,8 +1878,6 @@ describe('$route', function() {
18781878
expect(routeChangeStart).toHaveBeenCalledOnce();
18791879
expect(routeChangeSuccess).toHaveBeenCalledOnce();
18801880
expect($log.debug.logs).toEqual([['initialized']]);
1881-
1882-
$log.reset();
18831881
});
18841882

18851883

@@ -1932,8 +1930,6 @@ describe('$route', function() {
19321930
expect(routeChangeSuccess).toHaveBeenCalledOnce();
19331931
expect($log.debug.logs).toEqual([['initialized']]);
19341932
expect($routeParams).toEqual({param: 'bar'});
1935-
1936-
$log.reset();
19371933
})
19381934
);
19391935
});
@@ -2052,7 +2048,7 @@ describe('$route', function() {
20522048
);
20532049

20542050

2055-
it('should reload when `reloadOnSearch` is true and url differs only in route path param',
2051+
it('should reload when `reloadOnSearch` is false and url differs only in route path param',
20562052
function() {
20572053
var routeChange = jasmine.createSpy('route change');
20582054

@@ -2225,8 +2221,6 @@ describe('$route', function() {
22252221
expect(routeChangeStartSpy).toHaveBeenCalledOnce();
22262222
expect(routeChangeSuccessSpy).toHaveBeenCalledOnce();
22272223
expect($log.debug.logs).toEqual([['initialized']]);
2228-
2229-
$log.reset();
22302224
});
22312225

22322226

@@ -2283,8 +2277,6 @@ describe('$route', function() {
22832277
expect($routeParams).toEqual({barId: '123', a: 'b'});
22842278
expect(routeChangeSuccessSpy).toHaveBeenCalledOnce();
22852279
expect($log.debug.logs).toEqual([['initialized']]);
2286-
2287-
$log.reset();
22882280
}));
22892281
});
22902282
});

0 commit comments

Comments
 (0)