features/error-reporting.feature in httpimagestore-1.1.0 vs features/error-reporting.feature in httpimagestore-1.2.0
- old
+ new
@@ -2,11 +2,12 @@
Storage based on URL specified image names to be generated and stored using two different path formats.
This configuration should be mostly compatible with pre v1.0 release.
Background:
Given S3 settings in AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_S3_TEST_BUCKET environment variables
- Given httpimagestore server is running at http://localhost:3000/ with the following configuration
+ Given httpthumbnailer server is running at http://localhost:3100/health_check
+ Given httpimagestore server is running at http://localhost:3000/health_check with the following configuration
"""
s3 key="@AWS_ACCESS_KEY_ID@" secret="@AWS_SECRET_ACCESS_KEY@" ssl=false
path "structured-name" "#{dirname}/#{digest}/#{basename}-#{imagename}.#{mimeextension}"
path "missing" "blah"
@@ -42,10 +43,9 @@
get "zero" {
source_file "original" root="/dev" path="zero"
}
"""
- Given httpthumbnailer server is running at http://localhost:3100/
@error-reporting
Scenario: Reporting of missing resource
When I do GET request http://localhost:3000/blah
Then response status will be 404