@@ -1878,8 +1878,6 @@ describe('$route', function() {
1878
1878
expect ( routeChangeStart ) . toHaveBeenCalledOnce ( ) ;
1879
1879
expect ( routeChangeSuccess ) . toHaveBeenCalledOnce ( ) ;
1880
1880
expect ( $log . debug . logs ) . toEqual ( [ [ 'initialized' ] ] ) ;
1881
-
1882
- $log . reset ( ) ;
1883
1881
} ) ;
1884
1882
1885
1883
@@ -1932,8 +1930,6 @@ describe('$route', function() {
1932
1930
expect ( routeChangeSuccess ) . toHaveBeenCalledOnce ( ) ;
1933
1931
expect ( $log . debug . logs ) . toEqual ( [ [ 'initialized' ] ] ) ;
1934
1932
expect ( $routeParams ) . toEqual ( { param : 'bar' } ) ;
1935
-
1936
- $log . reset ( ) ;
1937
1933
} )
1938
1934
) ;
1939
1935
} ) ;
@@ -2052,7 +2048,7 @@ describe('$route', function() {
2052
2048
) ;
2053
2049
2054
2050
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' ,
2056
2052
function ( ) {
2057
2053
var routeChange = jasmine . createSpy ( 'route change' ) ;
2058
2054
@@ -2225,8 +2221,6 @@ describe('$route', function() {
2225
2221
expect ( routeChangeStartSpy ) . toHaveBeenCalledOnce ( ) ;
2226
2222
expect ( routeChangeSuccessSpy ) . toHaveBeenCalledOnce ( ) ;
2227
2223
expect ( $log . debug . logs ) . toEqual ( [ [ 'initialized' ] ] ) ;
2228
-
2229
- $log . reset ( ) ;
2230
2224
} ) ;
2231
2225
2232
2226
@@ -2283,8 +2277,6 @@ describe('$route', function() {
2283
2277
expect ( $routeParams ) . toEqual ( { barId : '123' , a : 'b' } ) ;
2284
2278
expect ( routeChangeSuccessSpy ) . toHaveBeenCalledOnce ( ) ;
2285
2279
expect ( $log . debug . logs ) . toEqual ( [ [ 'initialized' ] ] ) ;
2286
-
2287
- $log . reset ( ) ;
2288
2280
} ) ) ;
2289
2281
} ) ;
2290
2282
} ) ;
0 commit comments