Sha256: 13d8741d89002267bde9b7211de380b075758884d75df594999484df2f82f9bd
Contents?: true
Size: 564 Bytes
Versions: 5
Compression:
Stored size: 564 Bytes
Contents
require 'spec_helper' describe Alephant::Publisher do let(:instance) { Alephant::Publisher.create } before(:each) do Alephant::Publisher::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::Queue end end end describe Alephant::Publisher::PublishTask do before(:each) do Alephant::Publisher::PublishTask.any_instance .stub(:initialize) end it { should respond_to(:call) } end
Version data entries
5 entries across 5 versions & 1 rubygems