spec/unit/bunny_mock/exchanges/fanout_spec.rb in bunny-mock-1.2.0 vs spec/unit/bunny_mock/exchanges/fanout_spec.rb in bunny-mock-1.2.1
- old
+ new
@@ -13,10 +13,9 @@
@second.bind @source
@third.bind @source
end
it 'should only deliver to all routes' do
-
@source.publish 'Testing message', routing_key: 'queue.second'
expect(@first.message_count).to eq(1)
expect(@first.pop[:message]).to eq('Testing message')