Sha256: 863e4b11ab76bfe6b26356977b945ce8242173229ef8cb112de92f226851412f

Contents?: true

Size: 528 Bytes

Versions: 12

Compression:

Stored size: 528 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'

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

12 entries across 12 versions & 1 rubygems

Version Path
mxhero-api-0.1.24 test/helper.rb
mxhero-api-0.1.23 test/helper.rb
mxhero-api-0.1.22 test/helper.rb
mxhero-api-0.1.21 test/helper.rb
mxhero-api-0.1.20 test/helper.rb
mxhero-api-0.1.19 test/helper.rb
mxhero-api-0.1.18 test/helper.rb
mxhero-api-0.1.17 test/helper.rb
mxhero-api-0.1.16 test/helper.rb
mxhero-api-0.1.15 test/helper.rb
mxhero-api-0.1.14 test/helper.rb
mxhero-api-0.1.13 test/helper.rb