aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorIgor Minar2013-01-22 16:30:35 -0800
committerIgor Minar2013-01-22 16:32:02 -0800
commitffe5e01584ec1c10930a9a01ce4cec2ec888966b (patch)
tree7690b8b6158cf05d05cc9e366f98e75da1cfdf52 /test
parent3c2e1c5e4d12529b1d69a6173c38097527dccc4f (diff)
downloadangular.js-ffe5e01584ec1c10930a9a01ce4cec2ec888966b.tar.bz2
revert: fix($resource): Route constructor, updated RegExp
This reverts commit 06ed8ef0127bf80610eba17b5021d1f483d0b0bf. The reverted commit causes regressions. See comments in the PR: https://github.com/angular/angular.js/pull/1402#issuecomment-12575399
Diffstat (limited to 'test')
-rw-r--r--test/ngResource/resourceSpec.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/ngResource/resourceSpec.js b/test/ngResource/resourceSpec.js
index cf3b886b..33dc6d5b 100644
--- a/test/ngResource/resourceSpec.js
+++ b/test/ngResource/resourceSpec.js
@@ -129,12 +129,6 @@ describe("resource", function() {
R.get({a: 'doh@fo o', ':bar': '$baz@1', '!do&h': 'g=a h'});
});
- it('should allow relative paths in resource url', function () {
- var R = $resource(':a');
- $httpBackend.expect('GET', 'data.json').respond('{}');
- R.get({ a: 'data.json' });
- });
-
it('should encode & in url params', function() {
var R = $resource('/Path/:a');