Sha256: 7f56c9158d2f55e08a8c98e65dc477d1b112fa964754d4accc16e6197a48647c

Contents?: true

Size: 545 Bytes

Versions: 16

Compression:

Stored size: 545 Bytes

Contents

require 'spec_helper'

describe DispatchRider do

  describe ".configuration" do
    example do
      expect(described_class.configuration).to be_a(DispatchRider::Configuration)
    end
  end

  describe ".config" do
    example do
      expect(described_class.config).to be_a(DispatchRider::Configuration)
    end
  end

  describe ".configure" do
    example do
      described_class.configure do |config|
        config.queue_kind = :test_queue
      end

      expect(described_class.config.queue_kind).to eq(:test_queue)
    end
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dispatch-rider-2.1.0 spec/lib/dispatch-rider_spec.rb
dispatch-rider-2.0.0 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.9.0 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.8.6 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.8.5 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.8.4 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.8.3 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.8.2 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.8.1 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.8.0 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.7.2 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.7.1 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.7.0 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.6.2 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.6.1 spec/lib/dispatch-rider_spec.rb
dispatch-rider-1.6.0 spec/lib/dispatch-rider_spec.rb