rspec/rspec-core — pull request #1613 by myronmarston (2014-06-19 00:52:47+00:00)
Title: Create class doubles in our example so they have a full lifecycle.

...rather than creating them in a nested example, which resets
them before they get used.

This is necessary for rspec/rspec-mocks#718.