rspec/rspec-mocks — pull request #105 by aubreyrhodes (2012-02-04 04:00:45+00:00)
Title: Fixing blocks not being passed to stubs

This looks related to https://github.com/rspec/rspec-mocks/issues/18 but for stubs instead of expectations:

```ruby
a = nil
instance = mock
instance.stub(:a_method){|&block| a = block}
b = lamda { }
instance.a_method(&b)
```
a is nil