test/propono_test.rb in propono-0.5.3 vs test/propono_test.rb in propono-0.5.4

- old
+ new

@@ -11,7 +11,17 @@ def test_publish_calls_publisher_public Publisher.expects(:publish).with(@var1, @var2) Propono.publish(@var1, @var2) end + + def test_listen_to_queue_calls_queue_listener + QueueListener.expects(:listen).with(@var1, @var2) + Propono.listen_to_queue(@var1, @var2) + end + + def test_listen_to_udp_calls_udp_listener + UdpListener.expects(:listen).with(@var1, @var2) + Propono.listen_to_udp(@var1, @var2) + end end end