test/propono_test.rb in propono-1.1.2 vs test/propono_test.rb in propono-1.1.3

- old
+ new

@@ -34,9 +34,15 @@ topic = 'foobar' QueueListener.expects(:listen).with(topic) Propono.listen_to_queue(topic) end + def test_drain_queue_calls_queue_listener + topic = 'foobar' + QueueListener.expects(:drain).with(topic) + Propono.drain_queue(topic) + end + def test_listen_to_udp_calls_udp_listener UdpListener.expects(:listen).with() Propono.listen_to_udp() end