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

new step defenition - response should*not contain the header #82

Open melezhik opened 12 years ago

melezhik commented 12 years ago

When testing web applications it'd be helpfull to have this step def:

Given  I go to "http://some.host.com/static/foo/bar.html" 
Then response should not contain the "X-Catalyst" header

It'd be helpful when checking if static content returned by nginx front-end, but not catalyst back-end