Sha256: fb7b7029898feb43cf8b960a7a5785151c2556402e1f712faf39c09978570672

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 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]
end

Autoscale.activate!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
heroku-qc-autoscale-0.0.4 test/test_helper.rb