Sha256: 4867c215b74b0b3c831074a4dcb1ecb4dc5b5cbaf8b7e95b8509ccd34ad9e0b6

Contents?: true

Size: 629 Bytes

Versions: 3

Compression:

Stored size: 629 Bytes

Contents

if ENV["COVERAGE"]
  require 'simplecov'
  SimpleCov.start do
    add_filter "/spec/"
  end
end
require 'rspec'

# Kill warnings that not raising a specific exception still allows the method
# to fail with another exception
RSpec::Expectations.configuration.warn_about_potential_false_positives = false

$:.unshift(File.dirname(__FILE__) + '/../lib')
$:.unshift(File.dirname(__FILE__) + '/../ext')
require 'patron'

$stderr.puts "Build against #{Patron.libcurl_version}"

Dir['./spec/support/**/*.rb'].each { |fn| require fn }

Thread.new { PatronTestServer.start(false, 9001) }
Thread.new { PatronTestServer.start(true, 9043) }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
patron-0.13.1 spec/spec_helper.rb
patron-0.12.1 spec/spec_helper.rb
patron-0.12.0 spec/spec_helper.rb