require 'rspec' shared_examples_for 'success scenario' do it 'has status code of 200' do expect(described_class.status_code).to eq 200 end end