spec/integration/logging_spec.rb in freddy-jruby-0.4.3 vs spec/integration/logging_spec.rb in freddy-jruby-0.4.9
- old
+ new
@@ -21,10 +21,9 @@
default_sleep
end
it 'logs all consumed messages' do
expect(logger1).to have_received(:info).with(/Listening for requests on \S+/)
- expect(logger1).to have_received(:debug).with(/Consuming messages on \S+/)
expect(logger1).to have_received(:debug).with(/Received message on \S+ with payload {:pay=>"load"}/)
end
it 'logs all produced messages' do
expect(logger2).to have_received(:debug).with(/Consuming messages on \S+/)