@@ -86,14 +86,14 @@ test('general behaviour', t => {
8686 null , 'https://example.com' , { } , 'user'
8787 ) ) ;
8888
89- t . is ( t . context . stubApplyMiddleware . lastCall . args [ 0 ] , boundCallAPIMethod , 't.context.stubApplyMiddleware called with boundCallAPIMethod' ) ;
90- t . is ( t . context . stubApplyMiddleware . lastCall . args [ 1 ] , middleware , 't.context.stubApplyMiddleware called with middleware' ) ;
91- t . is ( t . context . stubApplyMiddleware . lastCall . args [ 2 ] , methodOptions , 't.context.stubApplyMiddleware called with methodOptions' ) ;
89+ t . is ( t . context . stubApplyMiddleware . lastCall . args [ 0 ] , boundCallAPIMethod , 'applyMiddleware called with boundCallAPIMethod' ) ;
90+ t . is ( t . context . stubApplyMiddleware . lastCall . args [ 1 ] , middleware , 'applyMiddleware called with middleware' ) ;
91+ t . is ( t . context . stubApplyMiddleware . lastCall . args [ 2 ] , methodOptions , 'applyMiddleware called with methodOptions' ) ;
9292 t . deepEqual ( t . context . stubApplyMiddleware . lastCall . args [ 3 ] , {
9393 path : [ 'delete' , 1 ] , options : { method : 'DELETE' }
94- } , 't.context.stubApplyMiddleware called with correct apiParams' ) ;
95- t . is ( t . context . stubApplyMiddleware . lastCall . args [ 4 ] , 'user' , 't.context.stubApplyMiddleware called with correct resourceId' ) ;
96- t . is ( t . context . stubApplyMiddleware . lastCall . args [ 5 ] , 'delete' , 't.context.stubApplyMiddleware called with correct method' ) ;
94+ } , 'applyMiddleware called with correct apiParams' ) ;
95+ t . is ( t . context . stubApplyMiddleware . lastCall . args [ 4 ] , 'user' , 'applyMiddleware called with correct resourceId' ) ;
96+ t . is ( t . context . stubApplyMiddleware . lastCall . args [ 5 ] , 'delete' , 'applyMiddleware called with correct method' ) ;
9797
9898 API . user . delete ( { id : 1 } ) ;
9999
0 commit comments