Sha256: 024629f6c55267ebf6900c00d2969ebdb0e249e568973cf4ecfe901cbdaf3234

Contents?: true

Size: 601 Bytes

Versions: 4

Compression:

Stored size: 601 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'mocha'
require 'vcr'

require 'bitbank'

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

RSpec.configure do |config|
  config.mock_with :mocha
  config.extend VCR::RSpec::Macros
end

VCR.config do |c|
  c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
  c.stub_with :webmock
  c.default_cassette_options = { :record => :none }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bitbank-0.1.2 spec/spec_helper.rb
bitbank-0.1.1 spec/spec_helper.rb
bitbank-0.1.0 spec/spec_helper.rb
bitbank-0.0.1 spec/spec_helper.rb