spec/support/shared/adapter_examples.rb in message-driver-0.4.0 vs spec/support/shared/adapter_examples.rb in message-driver-0.5.0

- old
+ new

@@ -1,5 +1,5 @@ -shared_examples 'an adapter' do +RSpec.shared_examples 'an adapter' do describe '#new_context' do it 'returns a MessageDriver::Adapters::ContextBase' do expect(subject.new_context).to be_a MessageDriver::Adapters::ContextBase end end