diff --git a/package.json b/package.json index e64d63caf..197656558 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "url-parse-lax": "^1.0.0" }, "devDependencies": { - "ava": "^0.10.0", + "ava": "^0.11.0", "coveralls": "^2.11.4", "get-port": "^2.0.0", "into-stream": "^2.0.0", diff --git a/test/redirects.js b/test/redirects.js index ac7c30e77..dba2d9133 100644 --- a/test/redirects.js +++ b/test/redirects.js @@ -127,7 +127,7 @@ test('redirects from http to https works', async t => { }); test('redirects works with lowercase method', async t => { - const body = (await got(`${s.url}/relative`, {method: 'head'})).body; + const body = (await got(`${http.url}/relative`, {method: 'head'})).body; t.is(body, ''); });