spec/unit/receiver_spec.rb in pwwka-0.20.0 vs spec/unit/receiver_spec.rb in pwwka-0.21.0

- old
+ new

@@ -24,10 +24,10 @@ allow(queue).to receive(:subscribe).and_yield({}, {}, '{}') end it 'sets the correct connection_name' do subject - expect(Pwwka::ChannelConnector).to have_received(:new).with(prefetch: nil, connection_name: "c: #{queue_name}") + expect(Pwwka::ChannelConnector).to have_received(:new).with(prefetch: nil, connection_name: "c: MyAwesomeApp my_awesome_process") end it 'closes the conenction on an error' do error = 'oh no' allow(handler_klass).to receive(:handle!).and_raise(error)