Sha256: 2993d46d7aaf19a905db57d9efb0f9a6a1c6806122dce84c25f8bf5894602a36

Contents?: true

Size: 547 Bytes

Versions: 6

Compression:

Stored size: 547 Bytes

Contents

$:.push File.expand_path("../lib", __FILE__)

require "BtSync"
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

6 entries across 6 versions & 1 rubygems

Version Path
BtSync-0.4.0 spec/spec_helper.rb
BtSync-0.3.2 spec/spec_helper.rb
BtSync-0.3.1 spec/spec_helper.rb
BtSync-0.2.1 spec/spec_helper.rb
BtSync-0.1.2 spec/spec_helper.rb
BtSync-0.1.1 spec/spec_helper.rb