Sha256: c4bb62bd9d364c06aeb7ae5de6b7f2ad39885679ba0161ee0eb9a36bdbc43423

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

require 'bundler/setup'
require 'webmock/rspec'
require 'vcr'

require_relative '../lib/medlink.rb'

VCR.configure do |c|
  c.cassette_library_dir = 'spec/cassettes'
  c.hook_into :webmock
  c.allow_http_connections_when_no_cassette = false
  c.before_record do |i|
    i.response.body.force_encoding('UTF-8')
  end
end

TOKEN = "HKJbahe6Gehbrg2"

RSpec.configure do |c|
  c.before(:each) do
    @api = Medlink::API.new(TOKEN)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
medlink-0.1.0 spec/spec_helper.rb