Sha256: ed4261c89e449bd1cba7c34519c567138453e15956faa1479f3afa2f1be9329e
Contents?: true
Size: 459 Bytes
Versions: 9
Compression:
Stored size: 459 Bytes
Contents
require 'spec_helper' describe Alephant::Publisher do let(:options) { Alephant::Publisher::Options.new } let(:instance) { Alephant::Publisher.create(options) } before(:each) do Alephant::Publisher::SQSHelper::Queue.any_instance.stub(:initialize) end describe "#initialize(opts = {}, logger)" do it "sets parser, sequencer, queue and writer" do expect(instance.queue).to be_a Alephant::Publisher::SQSHelper::Queue end end end
Version data entries
9 entries across 9 versions & 1 rubygems