Sha256: 8ea351044b15b77661e4b0e8194de76dfd940c858e95daa0d5fa9d8d44d3162b

Contents?: true

Size: 816 Bytes

Versions: 29

Compression:

Stored size: 816 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/myfinance/resources"
    add_group  "Entities",  "lib/myfinance/entities"
    add_filter "vendor"
  end
end


$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require "myfinance"
require "pry"
require "vcr"


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

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

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

  config.before(:each) do
    Myfinance.configuration.url = "https://sandbox.myfinance.com.br"
    Typhoeus::Expectation.clear
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
myfinance-1.8.2 spec/spec_helper.rb
myfinance-1.8.1 spec/spec_helper.rb
myfinance-1.8.0 spec/spec_helper.rb
myfinance-1.7.0 spec/spec_helper.rb
myfinance-1.6.6 spec/spec_helper.rb
myfinance-1.6.5 spec/spec_helper.rb
myfinance-1.6.4 spec/spec_helper.rb
myfinance-1.6.3 spec/spec_helper.rb
myfinance-1.6.1 spec/spec_helper.rb
myfinance-1.6.0 spec/spec_helper.rb
myfinance-1.5.0 spec/spec_helper.rb
myfinance-1.4.1 spec/spec_helper.rb
myfinance-1.4.0 spec/spec_helper.rb
myfinance-1.3.1 spec/spec_helper.rb
myfinance-1.3.0 spec/spec_helper.rb
myfinance-1.2.1 spec/spec_helper.rb
myfinance-1.2.0 spec/spec_helper.rb
myfinance-1.1.0 spec/spec_helper.rb
myfinance-1.0.0 spec/spec_helper.rb
myfinance-0.7.0 spec/spec_helper.rb