auxesis / cucumber-nagios

Systems testing plugin for Nagios with Cucumber + Webrat + Mechanize + Net::SSH
http://cucumber-nagios.org/
MIT License
257 stars 43 forks source link

No way to test for correct 404 page #80

Open choffee opened 12 years ago

choffee commented 12 years ago

When I write the following test

When I go to "http://foo.com/nopagehere" Then the request should fail And I should see "404 Not Found"

I get a failed test because it get's a 404 error. Is this the expected behavior? If so how to I check my 404 page?