Skip to content

Commit

Permalink
Added pending test for the gravity option when falling back to gm.
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Feb 29, 2016
1 parent 32cfadc commit 7dac204
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/processImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,4 +576,10 @@ describe('express-processimage', function () {
}
);
});

it.skip('should allow a crop operation with a gravity of center', function () {
return expect('GET /turtle.jpg?gm&resize=40,15&crop=center', 'to yield response', {
body: expect.it('to resemble', pathModule.resolve(__dirname, '..', 'testdata', 'turtleCroppedCenter.jpg'))
});
});
});
Binary file added testdata/turtleCroppedCenter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7dac204

Please sign in to comment.