rspec/rspec-core — pull request #503 by cbascom (2011-11-14 01:17:59+00:00)
Title: Add support for passing parameters and a block through include_examples

The it_should_behave_like and it_behaves_like methods of pulling shared examples in both allow you to pass parameters and a customization block. In my case I preferred the include_examples method instead of those alternatives but it did not support passing parameters or a block. This change adds that support along with tests for it.