Sha256: ad60963ed4494608aa1f72d1a3b485ab877924cf5528c5ceb1371b44b3901b4d

Contents?: true

Size: 384 Bytes

Versions: 7

Compression:

Stored size: 384 Bytes

Contents

require 'wisper/sidekiq'

RSpec.describe 'configuration' do
  let(:configuration) { Wisper.configuration }

  it 'configures sidekiq as a broadcaster' do
    expect(configuration.broadcasters).to include :sidekiq
  end

  it 'configures sidekiq as default async broadcaster' do
    expect(configuration.broadcasters[:async]).to be_an_instance_of(Wisper::SidekiqBroadcaster)
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
wisper-sidekiq-compat-2.3.0 spec/configuration_spec.rb
wisper-sidekiq-compat-2.1.0 spec/configuration_spec.rb
wisper-sidekiq-compat-2.0.0 spec/configuration_spec.rb
wisper-sidekiq-1.3.0 spec/configuration_spec.rb
wisper-sidekiq-1.2.0 spec/configuration_spec.rb
wisper-sidekiq-1.1.0 spec/configuration_spec.rb
wisper-sidekiq-0.0.1 spec/configuration_spec.rb