floehopper/mocha — Issue #61: Provide block syntax for sequences
Author: floehopper
Created: 2012-02-01 11:43:03+00:00
State: open
Labels: feature-request

It should be possible to provide the following syntax for a simple sequence i.e. one that is not interleaved with another :-

```ruby
in_sequence(:task_order) do
task_one.should_receive(:execute)
task_two.should_receive(:execute)
end
```

Any expectations within the block would be assigned to the sequence specified in the block.

See https://gist.github.com/1704783 for some relation discussions.