Skip to content

Instantly share code, notes, and snippets.

@kpumuk
Created December 3, 2009 16:07
Show Gist options
  • Save kpumuk/248269 to your computer and use it in GitHub Desktop.
Save kpumuk/248269 to your computer and use it in GitHub Desktop.
Feature: Nagios
In order stop SMS flood in case of emergency
As an admin
I want to be able to enable or disable SMS notifications
Scenario: Disable SMS notifications
Given Nagios SMS notifications enabled
And I am logged in as an admin user
When I go to the path "/nagios"
And I press "Disable"
Then I should see "Nagios notifications disabled"
Scenario: Enable SMS notifications
Given Nagios SMS notifications disabled
And I am logged in as an admin user
When I go to the path "/nagios"
And I press "Enable"
Then I should see "Nagios notifications enabled"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment