Sha256: 10068811b22e8274edf636b0aab39b2330502cc0223390a5c24471c8406cc1e8

Contents?: true

Size: 860 Bytes

Versions: 15

Compression:

Stored size: 860 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

def fixture_path
  File.expand_path("../fixtures", __FILE__) + '/'
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cirneco-0.6.9 spec/spec_helper.rb
cirneco-0.6.8 spec/spec_helper.rb
cirneco-0.6.7 spec/spec_helper.rb
cirneco-0.6.6 spec/spec_helper.rb
cirneco-0.6.4 spec/spec_helper.rb
cirneco-0.6.3 spec/spec_helper.rb
cirneco-0.6.2 spec/spec_helper.rb
cirneco-0.6.1 spec/spec_helper.rb
cirneco-0.6 spec/spec_helper.rb
cirneco-0.5.8 spec/spec_helper.rb
cirneco-0.5.7 spec/spec_helper.rb
cirneco-0.5.6 spec/spec_helper.rb
cirneco-0.5.5 spec/spec_helper.rb
cirneco-0.5.4 spec/spec_helper.rb
cirneco-0.5.3 spec/spec_helper.rb