spec/units/message_driver/broker_spec.rb in message-driver-0.6.1 vs spec/units/message_driver/broker_spec.rb in message-driver-0.7.0
- old
+ new
@@ -148,11 +148,11 @@
instance = described_class.new(adapter: adapter)
expect(instance.adapter).to be_a Adapters::InMemoryAdapter
end
it "raises and error if you don't provide a MessageDriver::Adapters::Base" do
- adapter = Hash.new
+ adapter = {}
expect do
described_class.new(adapter: adapter)
end.to raise_error(/adapter must be a MessageDriver::Adapters::Base/)
end
@@ -333,8 +333,7 @@
expect(broker.client.broker).to be(broker)
end
end
end
end
-
end
end