Sha256: 6a20845143bfc267ac0aa783fc8ec45c6931d78670c268f3594c786786fe0b92

Contents?: true

Size: 489 Bytes

Versions: 3

Compression:

Stored size: 489 Bytes

Contents

# test/test_helper.rb

ENV["TEST"] = 'true'
ENV["DATABASE_URL"] ||= "postgres:///queue_classic_test"

$:.unshift File.expand_path("../../lib")
require 'rubygems'
require 'minitest/autorun'
require 'pry'
require 'time'

require 'heroku-qc-autoscale'
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}

Autoscale.config do |c|
  c.api_key = "123456"
  c.app     = "racehq-test"
  c.mock    = true
  c.scale   = [1, 15, 30, 40, 50]
  c.min     = 0
end

Autoscale.activate!

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
heroku-qc-autoscale-0.0.7 test/test_helper.rb
heroku-qc-autoscale-0.0.6 test/test_helper.rb
heroku-qc-autoscale-0.0.5 test/test_helper.rb