Sha256: 3bcd933d63d07656034be801c1ae431329e0860eb695a522ec02d7b029582677

Contents?: true

Size: 503 Bytes

Versions: 4

Compression:

Stored size: 503 Bytes

Contents

module RosettaQueue
  module Gateway

    describe "a fanout exchange adapter", :shared => true do

#       it "should discover fanout name for destation" do
#         when_receiving_exchange {
#           @channel.should_receive(:fanout).with(@exchange).and_return(@bound_queue)
#         }
#       end

      it "should bind to fanout exchange" do
        when_receiving_exchange {
          @queue.should_receive(:bind).with(@exchange).and_return(@bound_queue)
        }
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
bmabey-rosetta_queue-0.3.3 spec/rosetta_queue/adapters/shared_fanout_behavior.rb
rosetta_queue-0.5.2 spec/rosetta_queue/adapters/shared_fanout_behavior.rb
rosetta_queue-0.5.0 spec/rosetta_queue/adapters/shared_fanout_behavior.rb
rosetta_queue-0.4.0 spec/rosetta_queue/adapters/shared_fanout_behavior.rb