Sha256: ef40f4ae4febcf5d6d3f010c57d027d9ea88f6819902a96bc0a1e6cab6eef429

Contents?: true

Size: 487 Bytes

Versions: 3

Compression:

Stored size: 487 Bytes

Contents

require 'spec_helper'
module WorkerRoulette
  describe WorkerRoulette do
    it "should not explode if redis_config is called before start" do
      WorkerRoulette.instance_variable_set("@redis_config", nil)
      expect {WorkerRoulette.redis_config}.not_to raise_error
    end

    it "should not explode if pool_size is called before start" do
      WorkerRoulette.instance_variable_set("@pool_config", nil)
      expect {WorkerRoulette.pool_size}.not_to raise_error
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
worker_roulette-0.1.7 spec/unit/worker_roulette_spec.rb
worker_roulette-0.1.6 spec/unit/worker_roulette_spec.rb
worker_roulette-0.1.5 spec/unit/worker_roulette_spec.rb