Sha256: edb4a23817e5aede0d320df603df983cbec26e3ca5eed947f1bb974359d8a568

Contents?: true

Size: 648 Bytes

Versions: 26

Compression:

Stored size: 648 Bytes

Contents

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

require_relative '../lib/mxhero-api'

# Load fixtures
Dir["#{File.dirname(__FILE__)}/fixtures/**/*.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 = ENV['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

26 entries across 26 versions & 1 rubygems

Version Path
mxhero-api-0.1.37 test/helper.rb
mxhero-api-0.1.36 test/helper.rb
mxhero-api-0.1.35 test/helper.rb
mxhero-api-0.1.34 test/helper.rb
mxhero-api-0.1.33 test/helper.rb
mxhero-api-0.1.32 test/helper.rb