Sha256: 59e48f01fc2f166d40a2f8399d957b8dd44487f107e4ec1549d08b9bbf0689f8

Contents?: true

Size: 656 Bytes

Versions: 1

Compression:

Stored size: 656 Bytes

Contents

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

require_relative '../lib/lifen_fhir.rb'

VCR.configuration.default_cassette_options[:match_requests_on] = [:method, :uri, :body]

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

RSpec.configure do |c|
  c.before(:each) do
    LifenFhir.configure do |config|
      config.site = "https://develop.lifen.fr/"
      config.application_access_token = "valid_application_access_token"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lifen_fhir-0.4.1 spec/spec_helper.rb