This repository has been archived by the owner on Sep 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrew Crump
committed
Jun 6, 2012
1 parent
9219a5f
commit 9ddd384
Showing
4 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
features/032_check_for_invalid_notification_timing.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Feature: Check for invalid notification timings | ||
|
||
In order to flag invalid notifications more quickly | ||
As a developer | ||
I want to identify notifications that have an invalid timing type | ||
|
||
Scenario Outline: Notification timings | ||
Given a cookbook recipe with a resource that <type> <notification_timing> | ||
When I check the cookbook | ||
Then the invalid notification timing warning 032 <display> be displayed | ||
Examples: | ||
| type | notification_timing | display | | ||
| notifies | | should not | | ||
| notifies | immediately | should not | | ||
| notifies | immediate | should not | | ||
| notifies | delayed | should not | | ||
| notifies | imediately | should | | ||
| subscribes | | should not | | ||
| subscribes | immediately | should not | | ||
| subscribes | immediate | should not | | ||
| subscribes | delayed | should not | | ||
| subscribes | imediately | should | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters