Sha256: baf061e912ddc597c79619f867ebf80df71bc85e6bfe02e8083909468dafd873

Contents?: true

Size: 837 Bytes

Versions: 5

Compression:

Stored size: 837 Bytes

Contents

require "bundler"
Bundler.setup(:default, :development)

require 'simplecov'
require 'coveralls'

Coveralls.wear!
# SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
#   SimpleCov::Formatter::HTMLFormatter,
#   Coveralls::SimpleCov::Formatter
# ]
# SimpleCov.start

require 'rubygems'
require 'bundler/setup'
require 'vcr'
require 'cgi'
require 'docdata'

VCR.configure do |c|
  c.cassette_library_dir = 'spec/vcr_cassettes'
  c.hook_into :fakeweb
  c.register_request_matcher :ignore_query_param_ordering do |r1, r2|
    uri1 = URI(r1.uri)
    uri2 = URI(r2.uri)

    uri1.scheme == uri2.scheme &&
      uri1.host == uri2.host &&
        uri1.path == uri2.path &&
          CGI.parse(uri1.query) == CGI.parse(uri2.query)
  end
end

RSpec.configure do |config|
  config.order = "random"
  # config.filter_run :focus => true
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
docdata-0.2.3 spec/spec_helper.rb
docdata-0.2.2 spec/spec_helper.rb
docdata-0.2.1 spec/spec_helper.rb
docdata-0.2.0 spec/spec_helper.rb
docdata-0.1.8 spec/spec_helper.rb