Skip to content

Commit

Permalink
Attempt to fix test that fails on Travis, but not on my local machine…
Browse files Browse the repository at this point in the history
… (?).
  • Loading branch information
papandreou committed Dec 1, 2015
1 parent 7321b07 commit 232a747
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/processImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,14 +432,15 @@ describe('express-processimage', function () {

it('should resize an animated gif using gm', function () {
config.debug = true;
return expect('GET /animated.gif?resize=40', 'to yield response', {
return expect('GET /animated.gif?resize=40,35', 'to yield response', {
headers: {
'X-Express-Processimage': 'gm'
},
body: expect.it('to have metadata satisfying', {
format: 'GIF',
size: {
width: 40
width: 40,
height: 35
}
})
});
Expand Down

0 comments on commit 232a747

Please sign in to comment.