spec/spec_helper.rb in beatport-0.1.5 vs spec/spec_helper.rb in beatport-0.1.6

- old
+ new

@@ -16,13 +16,19 @@ require 'vcr' VCR.configure do |c| c.cassette_library_dir = 'spec/fixtures' c.hook_into :fakeweb - c.allow_http_connections_when_no_cassette = true + c.allow_http_connections_when_no_cassette = false + c.default_cassette_options = { + :allow_playback_repeats => true, + :record => :new_episodes, + :re_record_interval => 604800 + } end RSpec.configure do |config| + # some (optional) config here end def silence_stream(stream) old_stream = stream.dup \ No newline at end of file