diff options
Diffstat (limited to 'test/ResourceSpec.js')
| -rw-r--r-- | test/ResourceSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ResourceSpec.js b/test/ResourceSpec.js index eb458c2d..fd7e41db 100644 --- a/test/ResourceSpec.js +++ b/test/ResourceSpec.js @@ -40,7 +40,7 @@ describe("resource", function() { it('should ignore slashes of undefinend parameters', inject(function($httpBackend) { var R = resource.route('/Path/:a/:b/:c'); - $httpBackend.when('GET').then('{}'); + $httpBackend.when('GET').respond('{}'); $httpBackend.expect('GET', '/Path'); $httpBackend.expect('GET', '/Path/1'); $httpBackend.expect('GET', '/Path/2/3'); |
