Permalink
Browse files

Refactoring example

  • Loading branch information...
1 parent 8ed4d26 commit 13e20b1ec8f2e7cc1c7e9b85ce218d3fb1913109 @brynary committed Jan 20, 2009
Showing with 8 additions and 6 deletions.
  1. +8 −6 examples/features2cards.feature
@@ -3,15 +3,17 @@ Feature: Generate PDF scenario cards
So that I can keep our task board up to date easily
As a developer
I want to generate index cards from our Cucumber feature files
+
+ Scenario: Generate card for the feature
- Scenario: Generate cards from one file
+ Given a feature file with no scenarios
+ When I generate cards
+ Then I should get a PDF with one feature card
+
+ Scenario: Generate scenario cards
Given a feature file with one scenario
When I generate cards
Then I should get a PDF with one scenario card
- Scenario: Generate card for the feature
-
- Given a feature file with no scenarios
- When I generate cards
- Then I should get a PDF with one feature card
+

0 comments on commit 13e20b1

Please sign in to comment.