Sha256: 1ad26f597aff2ede4da5382db92e4afa1c59ad2b3a14e5a319005fa704a83bc5

Contents?: true

Size: 558 Bytes

Versions: 12

Compression:

Stored size: 558 Bytes

Contents

require 'spec_helper'
module Queuel
  module IronMq
    describe Poller do
      describe "canned behavior" do
        it_should_behave_like "a poller"
      end

      describe "specific to Iron MQ" do
        let(:queue) { double "Queue" }
        let(:options) { {} }
        let(:block) { double "Callable" }
        subject { described_class.new queue, block, options }

        describe "its options" do
          its(:built_options) { should == { n: 1 } }
          its(:default_options) { should == { n: 1 } }
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
queuel-0.4.8 spec/lib/queuel/iron_mq/poller_spec.rb
queuel-0.4.6 spec/lib/queuel/iron_mq/poller_spec.rb
queuel-0.4.5 spec/lib/queuel/iron_mq/poller_spec.rb
queuel-0.4.4 spec/lib/queuel/iron_mq/poller_spec.rb
queuel-0.4.3 spec/lib/queuel/iron_mq/poller_spec.rb
queuel-0.4.2 spec/lib/queuel/iron_mq/poller_spec.rb
queuel-0.4.1 spec/lib/queuel/iron_mq/poller_spec.rb
queuel-0.4.0 spec/lib/queuel/iron_mq/poller_spec.rb
queuel-0.3.1 spec/lib/queuel/iron_mq/poller_spec.rb
queuel-0.3.0 spec/lib/queuel/iron_mq/poller_spec.rb
queuel-0.2.0 spec/lib/queuel/iron_mq/poller_spec.rb
queuel-0.1.0 spec/lib/queuel/iron_mq/poller_spec.rb