test/rdoc: remove tempfiles

* test/rdoc/test_rdoc_encoding.rb (teardown): remove tempfiles.
* test/rdoc/test_rdoc_markup_pre_process.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_c.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_changelog.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_markdown.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_rd.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_ruby.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_simple.rb (teardown): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test/rdoc: avoid tempfile leaks

* test/rdoc/test_rdoc_parser.rb (test_class_for_forbidden): avoid
  tempfile leaks by using `Tempfile.create` instead of
  `Tempfile.open`.
* test/rdoc/test_rdoc_rd_block_parser.rb (test_parse_include_subtree):
  ditto.
* test/rdoc/test_rdoc_rdoc.rb (test_parse_file_encoding): ditto.
* test/rdoc/test_rdoc_rdoc.rb (test_parse_file_forbidden): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e