RSpec.shared_examples 'Import::OTRS::Async' do it 'responds to start_bg' do expect(described_class).to respond_to('start_bg') end it 'responds to status_bg' do expect(described_class).to respond_to('status_bg') end end