Sha256: 82cfd08f3787fb27a8e6a87231618ecc89dcc7d0a70c3e92419e8f66fb347746
Contents?: true
Size: 537 Bytes
Versions: 1
Compression:
Stored size: 537 Bytes
Contents
require 'helper' class TestRequest < Test::Unit::TestCase context "ntail" do should "do something reasonable for bad requests" do log_line = bad_request_log_line assert_equal "-", log_line.request assert_nil log_line.http_method assert_nil log_line.uri assert_nil log_line.http_version assert_equal "", log_line.to_http_method_s assert_equal "-", log_line.to_uri_s assert_equal "", log_line.to_http_version_s assert_equal "-", log_line.to_request_s end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ntail-1.3.2 | test/ntail/test_request.rb |