Rex::Proto::Http::Handler::Erb
Rex::Proto::Http::Request
13 14 15 16 17 18 19
# File 'lib/rex/proto/http/handler/erb.rb.ut.rb', line 13 def test_erb k = Klass.new(nil, File.dirname(__FILE__)) r = k.on_request(nil, Request::Get.new("/erb.rb.ut.rb.rhtml")) assert_not_nil(r) assert_equal("foo 4\n", r.body) end