Sha256: 73267326a1862a1928b03fc64a0b4967f6dec68f6b5fd3260a2563df2f92612b

Contents?: true

Size: 658 Bytes

Versions: 3

Compression:

Stored size: 658 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'chargify2'
require 'webmock/rspec'
require 'capybara/rspec'
require 'vcr'

# 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.include SpecHelperMethods
  config.extend VCR::RSpec::Macros
end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chargify2-0.2.1 spec/spec_helper.rb
chargify2-0.2.0 spec/spec_helper.rb
chargify2-0.1.0 spec/spec_helper.rb