spec/spec_helper.rb in fandango-0.2.1 vs spec/spec_helper.rb in fandango-1.0.0
- old
+ new
@@ -1,12 +1,14 @@
require 'bundler/setup'
Bundler.require :default, :development
require 'minitest/autorun'
-require 'mocha'
+require 'vcr'
# require support files.
Dir['./spec/support/**/*.rb'].each { |f| require f }
-class MiniTest::Spec
- include Macros
+# VCR.
+VCR.configure do |c|
+ c.cassette_library_dir = 'spec/support/vcr_cassettes'
+ c.hook_into :fakeweb
end