test/unit/angularjs/rails/rootWrappingSpec.js in angularjs-rails-resource-0.2.5 vs test/unit/angularjs/rails/rootWrappingSpec.js in angularjs-rails-resource-1.0.0.pre.1
- old
+ new
@@ -3,10 +3,10 @@
beforeEach(module('rails'));
var q, rootScope,
transformer, interceptor,
- config = {rootName: 'test', rootPluralName: 'tests'};
+ config = {config: {name: 'test', pluralName: 'tests'}};
function testTransform(wrappedData, unwrappedData) {
var result, resultPromise,
deferred = q.defer();