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-1.1.3 test/helper.rb
mxhero-api-1.1.2 test/helper.rb
mxhero-api-1.1.1 test/helper.rb
mxhero-api-1.1.0 test/helper.rb
mxhero-api-1.0.5 test/helper.rb
mxhero-api-1.0.4 test/helper.rb
mxhero-api-1.0.3 test/helper.rb
mxhero-api-1.0.2 test/helper.rb
mxhero-api-1.0.1 test/helper.rb
mxhero-api-1.0.0 test/helper.rb
mxhero-api-0.1.56 test/helper.rb
mxhero-api-0.1.55 test/helper.rb
mxhero-api-0.1.54 test/helper.rb
mxhero-api-0.1.53 test/helper.rb
mxhero-api-0.1.52 test/helper.rb
mxhero-api-0.1.42 test/helper.rb
mxhero-api-0.1.41 test/helper.rb
mxhero-api-0.1.40 test/helper.rb
mxhero-api-0.1.39 test/helper.rb
mxhero-api-0.1.38 test/helper.rb