text: describe('DSHttpAdapter.destroyAll(resourceConfig, params, options)', function () {
  
  	beforeEach(startInjector);
  
  	it('should make a DELETE request', function () {
  		$httpBackend.expectDELETE('api/posts').respond(204);
  
  		DSHttpAdapter.destroyAll({
  			baseUrl: 'api',
  			endpoint: 'posts'
  		}).then(function (data) {
  				assert.isUndefined(data.data, 'posts should have been found');
  			}, function (err) {
  				console.error(err.stack);
  				fail('should not have rejected');
  			});
  
  		$httpBackend.flush();
  
  		$httpBackend.expectDELETE('api2/posts?query=%7B%22where%22:%7B%22author%22:%7B%22%3D%3D%22:%22John%22%7D%7D%7D').respond(204);
  
  		DSHttpAdapter.destroyAll({
  			baseUrl: 'api',
  			endpoint: 'posts'
  		}, {
  			query: {
  				where: {
  					author: {
  						'==': 'John'
  					}
  				}
  			}
  		}, { baseUrl: 'api2' }).then(function (data) {
  				assert.isUndefined(data.data, 'posts should have been destroyed');
  			}, function (err) {
  				console.error(err.stack);
  				fail('should not have rejected');
  			});
  
  		$httpBackend.flush();
  
  		assert.equal(lifecycle.queryTransform.callCount, 1, 'queryTransform should have been called');
  	});
  });
  