From 3185461493acdaf5a74a99bedfc3d5f4ebebc77e Mon Sep 17 00:00:00 2001 From: dead_horse Date: Mon, 24 Mar 2014 01:52:31 +0800 Subject: [PATCH] fix test in negotiation --- negotiation/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/negotiation/test.js b/negotiation/test.js index b98fb1b..d292ecf 100644 --- a/negotiation/test.js +++ b/negotiation/test.js @@ -50,7 +50,7 @@ describe('negotiation', function() { it('should give precedence to the first accepted type', function(done) { request .get('/tobi') - .set('Accept', 'Accept: text/html; q=0.9, */*; q=0.1') + .set('Accept', '*/*') .expect(200) .expect('Content-Type', /json/) .expect('{"name":"tobi","species":"ferret"}', done);