2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-11 18:02:32 +03:00

Merge pull request #49 from maxhoffmann/master

Fixing arrays in get params
This commit is contained in:
Matt Zabriskie
2015-07-23 09:08:16 -07:00
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ describe('helpers::buildUrl', function () {
it('should support array params', function () {
expect(buildUrl('/foo', {
foo: ['bar', 'baz']
})).toEqual('/foo?foo=bar&foo=baz');
})).toEqual('/foo?foo[]=bar&foo[]=baz');
});
it('should support special char params', function () {