Sha256: 940144c05787b8ee9a1bda54592c7993f3ff5eb2242aa5d2f63c04fd3d2c802a

Contents?: true

Size: 485 Bytes

Versions: 7

Compression:

Stored size: 485 Bytes

Contents

require 'vcr'
require 'webmock'

def file_fixture(filename)
  open(File.join(File.dirname(__FILE__), 'fixtures', "#{filename.to_s}")).read
end

Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f}

RSpec.configure do |config|

end

VCR.configure do |c|
  c.cassette_library_dir = 'spec/fixtures/cassettes'
  c.hook_into :webmock # or :fakeweb
  c.ignore_request { |request| URI(request.uri).host =~ /api\.elocal\.com|127\.0\.0\.1/ }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
BtSync-0.5.3 spec/spec_helper.rb
BtSync-0.5.1 spec/spec_helper.rb
BtSync-0.5.0 spec/spec_helper.rb
BtSync-0.4.4 spec/spec_helper.rb
BtSync-0.4.3 spec/spec_helper.rb
BtSync-0.4.2 spec/spec_helper.rb
BtSync-0.4.1 spec/spec_helper.rb