Sha256: 16bf72ba202aec3537ef6a782ae09ce0e4f1429f83c3dd266a659b5a968c9468

Contents?: true

Size: 862 Bytes

Versions: 8

Compression:

Stored size: 862 Bytes

Contents

require "codeclimate-test-reporter"
require "simplecov"

CodeClimate::TestReporter.start

SimpleCov.start do
  SimpleCov.maximum_coverage_drop 0.2
  SimpleCov.start do
    add_group  "Resources", "lib/emites/resources"
    add_group  "Entities",  "lib/emites/entities"
    add_filter "vendor"
  end
end

$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)

require "emites"
require "pry"
require "vcr"

VCR.configure do |config|
  config.cassette_library_dir = "spec/vcr_cassettes"
  config.hook_into :typhoeus
  config.ignore_hosts "codeclimate.com"
end

Dir["spec/support/**/*.rb"].each { |f| load f }
Dir["spec/shared_examples/**/*.rb"].each { |f| load f }

RSpec.configure do |config|
  config.mock_with :rspec

  config.before(:each) do
    Emites.configuration.url = "https://sandbox.emites.com.br/api/v1"
    Typhoeus::Expectation.clear
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
emites-client-0.1.4 spec/spec_helper.rb
emites-client-0.1.3 spec/spec_helper.rb
emites-client-0.1.2 spec/spec_helper.rb
emites-client-0.1.1 spec/spec_helper.rb
emites-client-0.1.0 spec/spec_helper.rb
emites-client-0.0.4 spec/spec_helper.rb
emites-client-0.0.3 spec/spec_helper.rb
emites-client-0.0.2 spec/spec_helper.rb