test/unit/angularjs/rails/transformersSpec.js in angularjs-rails-resource-1.0.0.pre.3 vs test/unit/angularjs/rails/transformersSpec.js in angularjs-rails-resource-1.0.0.pre.4
- old
+ new
@@ -1,6 +1,6 @@
-describe('transformers', function () {
+describe('deprecated request transformers', function () {
'use strict';
var $httpBackend, $rootScope, factory, Test, testTransformer,
config = {
url: '/test',
name: 'test'
@@ -27,10 +27,9 @@
afterEach(function() {
$httpBackend.verifyNoOutstandingExpectation();
$httpBackend.verifyNoOutstandingRequest();
});
-
it('should be able to add transformer using name', function() {
var Resource, testConfig = {};
$httpBackend.expectPOST('/test/123', {test: {id: 123, transformer_called: true}}).respond(200, {id: 123, abc_def: 'xyz'});