Permalink
Browse files

features that prove the tweaks are needed

  • Loading branch information...
1 parent 6f4e83b commit 9ef0f446326c9fecdb3a6e94ad34db4f03fb83b1 @JonRowe JonRowe committed Aug 22, 2011
Showing with 36 additions and 0 deletions.
  1. +8 −0 features/defining_roles/define_a_role.feature
  2. +28 −0 features/defining_tasks/define_a_task.feature
@@ -28,3 +28,11 @@ Feature: Define the Role
Given I am a New Customer
"""
Then you should see it has 'passed'
+
+ Scenario: Roles which grammatically required an 'an'
+ Given you did create a role: called 'UnregisteredCustomer'
+ When you attempt to run a scenario: containing
+ """
+ Given I am an Unregistered Customer
+ """
+ Then you should see it has 'passed'
@@ -52,3 +52,31 @@ Feature: Define a Task
| And I should do something |
| Then you should do something |
| And you should do something |
+
+ Scenario Outline: Once you've created the task, you see the step pass
+ Given you were able to create a task: called 'do something for 123Company'
+ When you attempt to run a scenario: containing
+ """
+ Given I am a New Customer
+ <step using the task>
+ """
+ Then you should see it has 'passed'
+
+ Examples:
+ | step using the task |
+ | Given I was able to do something for 123Company |
+ | And I was able to do something for 123Company |
+ | But I did do something for 123Company |
+ | Given you were able to do something for 123Company |
+ | And you were able to do something for 123Company |
+ | But you did do something for 123Company |
+ | When I attempt to do something for 123Company |
+ | And I attempt to do something for 123Company |
+ | And I did do something for 123Company |
+ | When you attempt to do something for 123Company |
+ | And you attempt to do something for 123Company |
+ | And you did do something for 123Company |
+ | Then I should do something for 123Company |
+ | And I should do something for 123Company |
+ | Then you should do something for 123Company |
+ | And you should do something for 123Company |

0 comments on commit 9ef0f44

Please sign in to comment.