Sha256: 2f0856a2fe46312484165666d7f8968534e1a160724d62a56ad6fa03a9f1c310
Contents?: true
Size: 839 Bytes
Versions: 1
Compression:
Stored size: 839 Bytes
Contents
require 'bundler/setup' require 'webmock/rspec' require 'vcr' require 'awesome_print' require 'simplecov' if ENV['CIRCLE_ARTIFACTS'] dir = File.join(ENV['CIRCLE_ARTIFACTS'], "coverage") SimpleCov.coverage_dir(dir) end SimpleCov.start do add_filter '/spec/' end 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.2 | spec/spec_helper.rb |