Permalink
Browse files

[RED] Error pages: test

  • Loading branch information...
gajdaw committed Jan 3, 2015
1 parent 1603bb7 commit e12352ea85e40ac3964dc2277855b2ca46a4cc9a
Showing with 11 additions and 0 deletions.
  1. +11 −0 features/error.feature
@@ -0,0 +1,11 @@
Feature: I would like to see customized error pages

Scenario: The Page was not found!
Given I am on "some/page/that/does/not/exist"
Then the response status code should be 404
And I should see "Hey, this beautiful page is yet to be created!"

Scenario: Serious problem in the application
Given I am on "/action/with/exception"
Then the response status code should be 500
And I should see "We are very sorry, but there was a serious error in the application!"

0 comments on commit e12352e

Please sign in to comment.