Sha256: 6b499be578d3fd14a101d1430fd7e9b3fec47936ccfdc9f9703fc50947f3d156

Contents?: true

Size: 401 Bytes

Versions: 8

Compression:

Stored size: 401 Bytes

Contents

require 'spec_helper'

RSpec.describe RSpec::Sidekiq do
  describe '#configure' do
    it 'yields with configuration' do
      expect { |block| RSpec::Sidekiq.configure(&block) }.to yield_with_args RSpec::Sidekiq.configuration
    end
  end

  describe '#configuration' do
    it 'returns instance' do
      expect(RSpec::Sidekiq.configuration).to be_a RSpec::Sidekiq::Configuration
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rspec-sidekiq-3.1.0 spec/rspec/sidekiq/sidekiq_spec.rb
rspec-sidekiq-3.0.3 spec/rspec/sidekiq/sidekiq_spec.rb
rspec-sidekiq-3.0.2 spec/rspec/sidekiq/sidekiq_spec.rb
rspec-sidekiq-3.0.1 spec/rspec/sidekiq/sidekiq_spec.rb
rspec-sidekiq-3.0.0 spec/rspec/sidekiq/sidekiq_spec.rb
rspec-sidekiq-2.2.0 spec/rspec/sidekiq/sidekiq_spec.rb
rspec-sidekiq-2.1.0 spec/rspec/sidekiq/sidekiq_spec.rb
rspec-sidekiq-2.0.0 spec/rspec/sidekiq/sidekiq_spec.rb