Sha256: a9513ede42ef1f575032dd2671dc4f56ab8463c955c74e43e9c68c8af510829e

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "HttpLogger" do
  it "should log request" do
    uri = URI.parse("http://google.com/")

    response = Net::HTTP.get_response(uri)
    File.read(LOGFILE).should_not be_empty

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
http_logger-0.0.1 spec/http_logger_spec.rb