Sha256: d0c7f081816454e2bc3554ce579cc59c33595ace1595d79ce6d268c5fe94559a
Contents?: true
Size: 529 Bytes
Versions: 5
Compression:
Stored size: 529 Bytes
Contents
require 'spec_helper' describe HerokuResqueAutoScale::Config do before(:each) do HerokuResqueAutoScale.send(:remove_const, 'Config') load 'lib/heroku-resque-workers-scaler/config.rb' end context 'using the supplied config file' do it { expect(HerokuResqueAutoScale::Config.thresholds).to be_instance_of Array } it { expect(HerokuResqueAutoScale::Config.environments).to eql(['production','staging', 'development']) } it { expect(HerokuResqueAutoScale::Config.worker_name).to eql 'worker' } end end
Version data entries
5 entries across 5 versions & 1 rubygems