1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-07-21 00:31:20 +02:00
Files
php-cimage/features/src.feature
2016-06-03 11:44:27 +02:00

14 lines
403 B
Gherkin

Feature: src
Display an image by selecting its source.
Scenario: Source is not a valid image name
Given Set src "NO_IMAGE"
When Get headers for image
Then Returns status code "404"
Scenario: Get only source image
Given Set src "test_100x100.png"
When Get image
Then Returns status code "200"
And Compares to image "test_100x100.png"