avoid repetition on features spec by using shared_examples