Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6f3e26c

Browse files
Chris J. Leegkalpak
Chris J. Lee
authored andcommitted
test(ngResource): fix typos in tests
Closes #13044
1 parent 1c75ea6 commit 6f3e26c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/ngResource/resourceSpec.js

+3-3
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)