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

Default feature doesn't work #38

Closed bitfield closed 13 years ago

bitfield commented 13 years ago

In cucumber-nagios 0.88, when you generate a new feature with:

cucumber-nagios-gen feature www.google.com foo

the scaffolding file features/www.google.com/foo.feature contains:

Feature: www.google.com It should be up

Scenario: Visiting home page When I visit "http://www.google.com" Then the request should succeed

This actually fails under Cucumber, since the 'visit' step isn't defined. It should be 'go to' instead of 'visit'. If you make this change, the feature passes.

auxesis commented 13 years ago

This is a regression. I have a test for it but apparently the test is broken.

I'll try and get this fixed today.

auxesis commented 13 years ago

This has been fixed in 0.8.9.

Thanks for pointing out this bug! :-)