Sha256: b9d734d7a6c151463ab93baff23bd4b1f54d318cc3d33570d052ca2a2dcc039c

Contents?: true

Size: 792 Bytes

Versions: 1

Compression:

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


$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require "rexpense"
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
    Rexpense.configuration.api_mode = "sandbox"
    Typhoeus::Expectation.clear
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rexpense-1.0.0 spec/spec_helper.rb