test/services/subscriber_test.rb in propono-0.11.1 vs test/services/subscriber_test.rb in propono-1.0.0.rc1

- old
+ new

@@ -3,10 +3,10 @@ module Propono class SubscriberTest < Minitest::Test def test_subscribe_by_queue_calls_queue_subscriber subscriber = QueueSubscription.new("topic") - QueueSubscription.expects(:new).with("topic").returns(subscriber) + QueueSubscription.expects(:new).with("topic", {}).returns(subscriber) QueueSubscription.any_instance.expects(:create) Subscriber.subscribe_by_queue("topic") end def test_subscribe_by_post_calls_post_subscribe