spec/publisher_spec.rb in alephant-publisher-0.2.5 vs spec/publisher_spec.rb in alephant-publisher-0.2.6
- old
+ new
@@ -3,14 +3,14 @@
describe Alephant::Publisher do
let(:options) { Alephant::Publisher::Options.new }
let(:instance) { Alephant::Publisher.create(options) }
before(:each) do
- Alephant::Publisher::Queue.any_instance.stub(:initialize)
+ 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::Queue
+ expect(instance.queue).to be_a Alephant::Publisher::SQSHelper::Queue
end
end
end