Sha256: 6f089012cba8d4c499cd0d0e384d3e18a0db9af555d4507f77dd3f29f4dcf727
Contents?: true
Size: 902 Bytes
Versions: 2
Compression:
Stored size: 902 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/" end require 'rspec' require 'webmock/rspec' require 'hubspot-ruby' require 'vcr' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{RSPEC_ROOT}/support/**/*.rb"].each {|f| require f} VCR.configure do |c| c.cassette_library_dir = "#{RSPEC_ROOT}/fixtures/vcr_cassettes" c.hook_into :webmock end RSpec.configure do |config| config.mock_with :rr config.after(:each) do Hubspot::Config.reset! end config.around(:each, live: true) do |example| VCR.turn_off! WebMock.disable! example.run WebMock.enable! VCR.turn_on! end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hubspot-ruby-0.1.1 | spec/spec_helper.rb |
hubspot-ruby-0.1.0 | spec/spec_helper.rb |