Sha256: 35f68ba0c50d33566500e34cbf64bb976cd13fbb83cfd76d3e9dc504e78e2187

Contents?: true

Size: 576 Bytes

Versions: 1

Compression:

Stored size: 576 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

Version Path
dispatch-rider-2.2.0 spec/lib/dispatch-rider_spec.rb