This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ describe("resource", function() {
156
156
} ) ;
157
157
158
158
159
- it ( 'should ignore slashes of undefinend parameters' , function ( ) {
159
+ it ( 'should ignore slashes of undefined parameters' , function ( ) {
160
160
var R = $resource ( '/Path/:a/:b/:c' ) ;
161
161
162
162
$httpBackend . when ( 'GET' , '/Path' ) . respond ( '{}' ) ;
@@ -181,7 +181,7 @@ describe("resource", function() {
181
181
R . get ( { a :6 , b :7 , c :8 } ) ;
182
182
} ) ;
183
183
184
- it ( 'should not ignore leading slashes of undefinend parameters that have non-slash trailing sequence' , function ( ) {
184
+ it ( 'should not ignore leading slashes of undefined parameters that have non-slash trailing sequence' , function ( ) {
185
185
var R = $resource ( '/Path/:a.foo/:b.bar/:c.baz' ) ;
186
186
187
187
$httpBackend . when ( 'GET' , '/Path/.foo/.bar.baz' ) . respond ( '{}' ) ;
@@ -242,7 +242,7 @@ describe("resource", function() {
242
242
} ) ;
243
243
244
244
it ( 'should not encode @ in url params' , function ( ) {
245
- //encodeURIComponent is too agressive and doesn't follow http://www.ietf.org/rfc/rfc3986.txt
245
+ //encodeURIComponent is too aggressive and doesn't follow http://www.ietf.org/rfc/rfc3986.txt
246
246
//with regards to the character set (pchar) allowed in path segments
247
247
//so we need this test to make sure that we don't over-encode the params and break stuff like
248
248
//buzz api which uses @self
You can’t perform that action at this time.
0 commit comments