DuncanButler/SpecSalad — pull request #4 by MikeHanson (2012-03-23 10:55:20+00:00)
Title: Added Then task specification support

I posted a comment on your SpecSalad part 1 blog regading the limited syntax options for Then so I thought I would have a go at implementing something to solve my own issue. I am not a regular Git user so hope I have done this correctly. I have basically added two new steps in CukeSalad.cs copied from the WhenTaskSpecification. These steps allow you to run a task from Then steps in much the same way as you can from Given/When steps. The syntax that is supported with this change is:

Then I/you [can|am able to|are able to] :

I added scenarios to the SpecSalad acceptance tests.

Hope I have done this right and haven't broken anything.

Mike Hanson