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-0.6.0 spec/spec_helper.rb
myfinance-0.5.0 spec/spec_helper.rb
myfinance-0.4.0 spec/spec_helper.rb
myfinance-0.3.3 spec/spec_helper.rb
myfinance-0.3.2 spec/spec_helper.rb
myfinance-0.3.1 spec/spec_helper.rb
myfinance-0.3.0 spec/spec_helper.rb
myfinance-0.2.0 spec/spec_helper.rb
myfinance-0.1.0 spec/spec_helper.rb