Sha256: d59d7b9cc7d5797a243d17901ff798bbb7d8192305d48f45afa7eb186a23a872
Contents?: true
Size: 411 Bytes
Versions: 11
Compression:
Stored size: 411 Bytes
Contents
require 'fake_sqs/queue_factory' describe FakeSQS::QueueFactory do it "builds queues with a message factory" do message_factory = double :message_factory queue = double :queue queue_factory = FakeSQS::QueueFactory.new(message_factory: message_factory, queue: queue) queue.should_receive(:new).with(message_factory: message_factory, name: "Foo") queue_factory.new(name: "Foo") end end
Version data entries
11 entries across 11 versions & 1 rubygems