Sha256: 3bb85e672071a29aa3c9b333f10db3729c0dc047cbe071e7f728585b83d56c87
Contents?: true
Size: 644 Bytes
Versions: 3
Compression:
Stored size: 644 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) module Propono class ProponoTest < Minitest::Test def setup super @var1 = "Foobar" @var2 = 123 end 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
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
propono-0.5.6 | test/propono_test.rb |
propono-0.5.5 | test/propono_test.rb |
propono-0.5.4 | test/propono_test.rb |