diff --git a/test/acceptance/cache/cache_headers.js b/test/acceptance/cache/cache_headers.js index c8e93e63..ab3b8329 100644 --- a/test/acceptance/cache/cache_headers.js +++ b/test/acceptance/cache/cache_headers.js @@ -155,7 +155,7 @@ describe('get requests with cache headers', function() { assert.ok(res.headers['x-cache-channel']); assert.ok(res.headers['surrogate-key']); - assert.ok(res.headers['vary'] === 'Authorization'); + assert.ok(res.headers.vary === 'Authorization'); if (expectedCacheHeaders) { validateXChannelHeaders(res.headers, expectedCacheHeaders); assert.equal(res.headers['surrogate-key'], expectedCacheHeaders.surrogate_keys);