Sha256: c2c4c588e434e30b95c2299c9410acdb5263d94c8f10099f0b87f09d12dd72db

Contents?: true

Size: 863 Bytes

Versions: 1

Compression:

Stored size: 863 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'rubygems'
require 'vcr'
require 'spec'
require 'spec/autorun'

begin
  require 'ruby-debug'
  Debugger.start
  Debugger.settings[:autoeval] = true if Debugger.respond_to?(:settings)
rescue LoadError
  # ruby-debug wasn't available so neither can the debugging be
end

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f}

Spec::Runner.configure do |config|
  config.extend TempCacheDir
  config.extend DisableWarnings

  config.before(:each) do
    VCR::Config.default_cassette_options = { :record => :unregistered }
    FakeWeb.allow_net_connect = true
    FakeWeb.clean_registry
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vcr-0.2.0 spec/spec_helper.rb