Sha256: 4961f03d1effcdcb70db1d99f41c6b1e47db599d341c0f47eea6fdd053d971d1
Contents?: true
Size: 818 Bytes
Versions: 3
Compression:
Stored size: 818 Bytes
Contents
Feature: Static file requests As a web-developer I want to be able to serve static files To provide fast content on the Internet Background: Given the server is running Scenario: Serve a static html file Given the file "index.html" exist When I go to "/index.html" Then the response should contain "Success!" Scenario: Serve an javascript file Given the file "jquery.js" exist When I go to "/jquery.js" Then the response should contain "jQuery JavaScript Library" And the response should contain "})(window);" Scenario: Show an error message if a resource doesnt exist Given the file "non-existent-file.html" does not exist When I go to "non-existent-file.html" Then the response should contain "404" Then the response should contain "does not exist"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yarn-0.1.0 | features/static_request.feature |
yarn-0.0.9 | features/static_request.feature |
yarn-0.0.2 | features/static_request.feature |