Skip to content

Commit

Permalink
Added scenario for displaying notices for the patch and merge features.
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Apr 21, 2010
1 parent c9b624c commit 2b4e048
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion features/plain/changes_view_improvements.feature
Expand Up @@ -18,4 +18,17 @@ Feature: Changes view improvements
| merge system | Adding to system | green |
| merge system | Removing from system | red |
| view changes | Changes to the file | green |
| view changes | Changes to the system | red |
| view changes | Changes to the system | red |

Scenario Outline: There should be a notice warning users a feature file will be changed when patching a feature file
Given there is a feature
And the feature has a path
When the feature has changed "Something different"
And I view the feature
And I use the "<link>" link
Then the following notice should be displayed "<notice>"

Examples: Changes notices
| link | notice |
| merge changes | This will change the source file. Unless you use source control, you may lose all changes |
| merge system | This will change will update the system feature |

0 comments on commit 2b4e048

Please sign in to comment.