# File test/test_erb.rb, line 61
    def test_erb_doc_path
      @publish_doc_path = '/foo/bar'
      @publish_messg_body = '<%= ENV["SCRIPT_NAME"] + "," + ENV["PATH_INFO"] %>'.taint
      @request.method = 'GET'
      @request.path = '/foo/bar'
      @request.version = 'HTTP/1.1'
      @doc.publish('/foo', @request, @response, @logger)
      assert_equal(1, @publish_call)
      assert_equal('/foo', @publish_script_name)
      assert_equal('/foo/bar', @publish_request_path)
      assert_equal('/foo/bar', @messg_head.doc_path)
      assert_nil(@messg_head.local_path)
      assert_equal('HTTP/1.1', @messg_head.version)
      assert_equal(200, @messg_head.status)
      assert_equal('OK', @messg_head.reason)
      assert_equal('text/plain', @messg_head.header('Content-Type'))
      assert_equal('/foo/bar,', @messg_body)
    end