shared_examples should raise error if no block passed [new feature]
Created by: batizhevsky
I found in a code base I'm working with that someone by mistake uses shared_examples
instead it_behaves_like
.
And it strange that:
- shared examples not run
- nothing like an error message or a warning
I think there no one need use shared_examples
without a block. I think that better to add exception or warning message.