spec/lib/adapters/rabbitmq/configuration_spec.rb in basquiat-1.2.0 vs spec/lib/adapters/rabbitmq/configuration_spec.rb in basquiat-1.3.0.pre.1

- old
+ new

@@ -17,14 +17,14 @@ expect(config.base_options[:queue][:name]).to eq('config.test.queue') end end it '#connection_options' do - expect(config.connection_options.keys).to contain_exactly(:servers, :auth, :failover) + expect(config.connection_options.keys).to contain_exactly(:hosts, :auth, :port) end it '#session_options' do - expect(config.session_options.keys).to contain_exactly(:exchange, :queue, :publisher) + expect(config.session_options.keys).to contain_exactly(:exchange, :queue, :publisher, :consumer) end context 'Strategies' do it 'merges the strategy options with the session ones' do Basquiat::Adapters::RabbitMq.register_strategy(:awesome, AwesomeStrategy)