RSpec - Use shared_examples to avoid duplicate test examples