Skip to content

Add support for passing parameters and a block through include_examples

gitlab-qa-bot requested to merge github/fork/cbascom/shared_example_params into master

Created by: cbascom

The it_should_behave_like and it_behaves_like methods of pulling in shared examples 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.

Merge request reports