spec/spec_helper.rb in beatport-0.1.3 vs spec/spec_helper.rb in beatport-0.1.5
- old
+ new
@@ -11,9 +11,16 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'beatport'
require 'pp'
require 'log_buddy'
+require 'vcr'
+
+VCR.configure do |c|
+ c.cassette_library_dir = 'spec/fixtures'
+ c.hook_into :fakeweb
+ c.allow_http_connections_when_no_cassette = true
+end
RSpec.configure do |config|
# some (optional) config here
end
\ No newline at end of file