Sha256: d45ac28bece916acf43e2788b19c29ce0f9096896313fc7c85ef803883b302b4
Contents?: true
Size: 565 Bytes
Versions: 2
Compression:
Stored size: 565 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rspec' require 'webmock/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| config.expect_with(:rspec) { |c| c.syntax = :should } FileUtils.rm_f(LOGFILE) HttpLogger.logger = Logger.new(LOGFILE) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
http_logger-0.7.0 | spec/spec_helper.rb |
http_logger-0.6.0 | spec/spec_helper.rb |