Sha256: 7352c14e56d67aaa6187ef074edf71a859eaeee3d387bc4479224fd14a7df71d

Contents?: true

Size: 522 Bytes

Versions: 5

Compression:

Stored size: 522 Bytes

Contents

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

require_relative '../lib/lifen.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

RSpec.configure do |c|
  c.before(:each) do
  	Lifen.configure do |config|
			config.site = "http://develop.lifen.fr/"
      config.secret_key = "valid_secret_key"
		end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lifen-0.1.4 spec/spec_helper.rb
lifen-0.1.3 spec/spec_helper.rb
lifen-0.1.2 spec/spec_helper.rb
lifen-0.1.1 spec/spec_helper.rb
lifen-0.1.0 spec/spec_helper.rb