Sha256: 5f17441697f52482d3e65ac6036797ca866ebebaa1a8a4b391b2289271d2b825

Contents?: true

Size: 711 Bytes

Versions: 6

Compression:

Stored size: 711 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
RSPEC_ROOT = File.dirname(__FILE__)
GEM_ROOT = File.expand_path("..", RSPEC_ROOT)

require 'simplecov'
SimpleCov.root GEM_ROOT
SimpleCov.start do
  add_filter "/spec/"
  add_filter "/.bundle/"
end

require 'rspec'
require 'webmock/rspec'
require 'hubspot-ruby'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{RSPEC_ROOT}/support/**/*.rb"].each {|f| require f}

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

  config.after(:each) do
    Hubspot::Config.reset!
  end

  config.extend CassetteHelper
  config.extend TestsHelper
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hubspot-ruby-0.9.0 spec/spec_helper.rb
hubspot-ruby-0.8.1 spec/spec_helper.rb
hubspot-ruby-0.8.0 spec/spec_helper.rb
hubspot-ruby-0.7.0 spec/spec_helper.rb
hubspot-ruby-0.6.1 spec/spec_helper.rb
hubspot-ruby-0.6.0 spec/spec_helper.rb