aboutsummaryrefslogtreecommitdiffstats
path: root/test/ResourceSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ResourceSpec.js')
-rw-r--r--test/ResourceSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ResourceSpec.js b/test/ResourceSpec.js
index 81519f0f..b4a7d37e 100644
--- a/test/ResourceSpec.js
+++ b/test/ResourceSpec.js
@@ -4,7 +4,7 @@ describe("resource", function() {
var xhr, resource, CreditCard, callback, $xhrErr;
beforeEach(function() {
- var scope = angular.scope({}, null, {'$xhr.error': $xhrErr = jasmine.createSpy('xhr.error')});
+ var scope = angular.scope(angularService, {'$xhr.error': $xhrErr = jasmine.createSpy('xhr.error')});
xhr = scope.$service('$browser').xhr;
resource = new ResourceFactory(scope.$service('$xhr'));
CreditCard = resource.route('/CreditCard/:id:verb', {id:'@id.key'}, {