Sha256: 712e98a2cacd1e749d737436aa9495cd88b681f0d503a5f002e277e8ba58083c

Contents?: true

Size: 488 Bytes

Versions: 7

Compression:

Stored size: 488 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'http_logger'
require "logger"
require "fileutils"

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

LOGFILE = 'http.log'
RSpec.configure do |config|


  FileUtils.rm_f(LOGFILE)
  Net::HTTP.logger = Logger.new(LOGFILE)
  
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
http_logger-0.2.5 spec/spec_helper.rb
http_logger-0.2.4 spec/spec_helper.rb
http_logger-0.2.3 spec/spec_helper.rb
http_logger-0.2.2 spec/spec_helper.rb
http_logger-0.2.1 spec/spec_helper.rb
http_logger-0.1.0 spec/spec_helper.rb
http_logger-0.0.1 spec/spec_helper.rb