@@ -922,7 +922,7 @@ test('#fetch handles 204 (Success, no content) response status w/o calling deser
922922 sandbox . stub ( adapter , 'fetchUrl' , function ( ) { } ) ;
923923 mockFetchJax ( sandbox , adapter , '' ) ;
924924 sandbox . stub ( adapter , 'cacheResource' , function ( ) { } ) ;
925- adapter . serializer = { deserialize : sandbox . spy ( ) , deserializeIncluded : Ember . K } ;
925+ adapter . serializer = { deserialize : sandbox . spy ( ) , deserializeIncluded ( ) { } } ;
926926 let promise = adapter . fetch ( '/posts' , { method : 'PATCH' , body : '{"data": null}' } ) ;
927927
928928 assert . ok ( typeof promise . then === 'function' , 'returns a thenable' ) ;
@@ -940,7 +940,7 @@ test('#fetch handles 200 (Success) response status', function(assert) {
940940 const adapter = this . subject ( { type : 'posts' , url : '/posts' } ) ;
941941 mockFetchJax ( sandbox , adapter , postMock ) ;
942942 sandbox . stub ( adapter , 'cacheResource' , function ( ) { } ) ;
943- adapter . serializer = { deserialize : sandbox . spy ( ) , deserializeIncluded : Ember . K } ;
943+ adapter . serializer = { deserialize : sandbox . spy ( ) , deserializeIncluded ( ) { } } ;
944944 let promise = adapter . fetch ( '/posts/1' , { method : 'GET' } ) ;
945945
946946 assert . ok ( typeof promise . then === 'function' , 'returns a thenable' ) ;
0 commit comments