Test::Unit::TestCase
# File lib/rex/proto/http/handler/proc.rb.ut.rb, line 12 def test_proc cool = 0 k = Klass.new(nil, Proc.new { |cli, req| cool = 1 }) r = k.on_request(nil, Request::Get.new("/erb.rb.ut.rb.rhtml")) assert_equal(1, cool) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.