use shared_examples_for/it_should_behave_like in specs