it('should call PUT resource', () => {
        $httpBackend.whenPUT(`/${route}/${id}`, item).respond(() => [200, item]);

        abstractResource.update(item).then((respond) => {
            expect(respond.data).toEqual(item);