use shared example in rspec