codegram/spinach — pull request #109 by robinroestenburg (2012-05-31 13:49:29+00:00)
Title: Added support for pending steps

This PR adds support for defining steps as 'pending'.

### Usage
Example usage:

``` ruby
Given "I have a pending step" do
pending 'This step is pending'
end
```
### Output
When a pending step is encountered, the following happens:
- a message showing the reason when running the scenario containing this step
- the error summary shows the pending scenario (also with explanatation)
- the steps summary (last line) shows the number of pending specs found.
- all output concerning the pending steps is shown in yellow (like undefined steps)

### Generating new steps
The `raise` in newly generated steps is replaced by a call to the new `pending` method.

Hope you like it, let me know if there is anything that needs to be adjusted.