Skip to content

Commit

Permalink
Added a test for @igorsobreira pull request #234
Browse files Browse the repository at this point in the history
  • Loading branch information
heynemann committed Jan 7, 2014
1 parent 15682e8 commit 3e6bc50
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions vows/handler_images_vows.py
Expand Up @@ -312,3 +312,12 @@ def topic(self):
def should_be_200(self, response):
code, _ = response
expect(code).to_equal(200)

class WithCMYK_JPEG_AsPNG(BaseContext):
def topic(self):
response = self.get('/unsafe/filters:format(png)/merrit.jpg')
return (response.code, response.headers)

def should_be_200(self, response):
code, _ = response
expect(code).to_equal(200)

0 comments on commit 3e6bc50

Please sign in to comment.