File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ describe("resource", function() {
156156 } ) ;
157157
158158
159- it ( 'should ignore slashes of undefinend parameters' , function ( ) {
159+ it ( 'should ignore slashes of undefined parameters' , function ( ) {
160160 var R = $resource ( '/Path/:a/:b/:c' ) ;
161161
162162 $httpBackend . when ( 'GET' , '/Path' ) . respond ( '{}' ) ;
@@ -181,7 +181,7 @@ describe("resource", function() {
181181 R . get ( { a :6 , b :7 , c :8 } ) ;
182182 } ) ;
183183
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 ( ) {
185185 var R = $resource ( '/Path/:a.foo/:b.bar/:c.baz' ) ;
186186
187187 $httpBackend . when ( 'GET' , '/Path/.foo/.bar.baz' ) . respond ( '{}' ) ;
@@ -242,7 +242,7 @@ describe("resource", function() {
242242 } ) ;
243243
244244 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
246246 //with regards to the character set (pchar) allowed in path segments
247247 //so we need this test to make sure that we don't over-encode the params and break stuff like
248248 //buzz api which uses @self
You can’t perform that action at this time.
0 commit comments