Sha256: 9a2ba3c4cbe1157747e3ad68c4648c4ed9e6cc82fa23abfe519e6b490e2bf8c8

Contents?: true

Size: 537 Bytes

Versions: 1

Compression:

Stored size: 537 Bytes

Contents

if ENV['COVERAGE'] == '1'
  require 'simplecov'
  SimpleCov.start do
	add_filter "/test/"
  end
end
require 'minitest/autorun'
require 'minitest/pride'

Dir['./lib/**/*.rb'].each { |rb| require rb }

TEST_API_DOMAIN   = 'tesla.com'
TEST_API_URL      = ENV['TEST_API_URL'] || 'http://test.mxhero.com/webapi/api/v1'
TEST_API_USER     = 'admin'
TEST_API_PASSWORD = 'password' 

require 'vcr'

VCR.configure do |c|
  c.cassette_library_dir = 'test/fixtures/api'
  c.allow_http_connections_when_no_cassette = true
  c.hook_into :webmock
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mxhero-api-0.1.12 test/helper.rb