Sha256: 508600f8134e468bcf597ca9fa01fbd3f0efbf9afe3a16644a4658e64a0ff77a

Contents?: true

Size: 849 Bytes

Versions: 5

Compression:

Stored size: 849 Bytes

Contents

Feature: HTTP server
	It should behave like valid HTTP server

	Background:
		Given httpthumbnailer server is running at http://localhost:3100/

	Scenario: Reporitng of missing resource for GET
		When I do GET request http://localhost:3100/blah
		Then response status should be 404
		And response content type should be text/plain
		And response body should be CRLF endend lines
		"""
		request for URI '/blah' was not handled by the server
		"""

	Scenario: Reporitng of missing resource for PUT
		When I do PUT request http://localhost:3100/blah/thumbnails/crop,0,0,PNG/fit,0,0,JPG/pad,0,0,JPEG
		Then response status should be 404
		And response content type should be text/plain
		And response body should be CRLF endend lines
		"""
		request for URI '/blah/thumbnails/crop,0,0,PNG/fit,0,0,JPG/pad,0,0,JPEG' was not handled by the server
		"""

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
httpthumbnailer-1.2.0 features/httpthumbnailer.feature
httpthumbnailer-1.1.2 features/httpthumbnailer.feature
httpthumbnailer-1.1.1 features/httpthumbnailer.feature
httpthumbnailer-1.1.0 features/httpthumbnailer.feature
httpthumbnailer-1.0.0 features/httpthumbnailer.feature