Sha256: f49d18a9b79026dccfa7ffec158e7481dfcbe3dfcb146677f6fd73bded7e2d8c

Contents?: true

Size: 788 Bytes

Versions: 8

Compression:

Stored size: 788 Bytes

Contents

require 'bundler/setup'
Bundler.setup

require 'simplecov'
SimpleCov.start

require 'cirneco'
require 'maremma'
require 'rspec'
require 'rack/test'
require 'webmock/rspec'
require 'rspec/xsd'
require 'nokogiri'
require 'vcr'

RSpec.configure do |config|
  config.order = :random
  config.include RSpec::XSD
  config.include WebMock::API
  config.include Rack::Test::Methods
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

VCR.configure do |c|
  mds_token = Base64.encode64("#{ENV['MDS_USERNAME']}:#{ENV['MDS_PASSWORD'].to_s}").rstrip

  c.cassette_library_dir = "spec/fixtures/vcr_cassettes"
  c.hook_into :webmock
  c.ignore_localhost = true
  c.ignore_hosts 'codeclimate.com'
  c.filter_sensitive_data("<MDS_TOKEN>") { mds_token }
  c.configure_rspec_metadata!
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cirneco-0.4.9 spec/spec_helper.rb
cirneco-0.4.8 spec/spec_helper.rb
cirneco-0.4.7 spec/spec_helper.rb
cirneco-0.4.6 spec/spec_helper.rb
cirneco-0.4.5 spec/spec_helper.rb
cirneco-0.4 spec/spec_helper.rb
cirneco-0.3.3 spec/spec_helper.rb
cirneco-0.3.1 spec/spec_helper.rb