spec/lib/support/configuration_spec.rb in basquiat-1.4.0 vs spec/lib/support/configuration_spec.rb in basquiat-1.5.0

- old
+ new

@@ -35,9 +35,20 @@ config.exchange_name = nil expect(config.exchange_name).to eq('basquiat.exchange') end + it '#connection' do + expect(config.connection).to be_nil + end + + it '#connection=' do + connection = spy('connection') + config.connection = connection + + expect(config.connection).to eq(connection) + end + it '#logger' do expect(config.logger).not_to be_nil end it '#logger=' do