Sha256: 7859c5cdbd8c233f3f8a9125b36f3af5345500c4c1d71b4f780e15ebf6e31da5

Contents?: true

Size: 393 Bytes

Versions: 2

Compression:

Stored size: 393 Bytes

Contents

require "spec_helper"

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

2 entries across 2 versions & 1 rubygems

Version Path
rspec-sidekiq-1.1.0 spec/rspec/sidekiq/sidekiq_spec.rb
rspec-sidekiq-1.0.0 spec/rspec/sidekiq/sidekiq_spec.rb