diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-14 19:26:59 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-14 19:26:59 +0000 |
commit | ed5508324623cf95f63df5cf686a8027e8ae4009 (patch) | |
tree | 81fee053db99dc5b3465ede6e842b7d91158526f /test | |
parent | c749e4fca225cd00f5be15f6fe6e4538a6c29413 (diff) | |
download | ruby-ed5508324623cf95f63df5cf686a8027e8ae4009.tar.gz |
Set tempfile name with literal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/cgi/test_cgi_multipart.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cgi/test_cgi_multipart.rb b/test/cgi/test_cgi_multipart.rb index 47a41f6488..86bbc0d28c 100644 --- a/test/cgi/test_cgi_multipart.rb +++ b/test/cgi/test_cgi_multipart.rb @@ -136,9 +136,9 @@ class CGIMultipartTest < Test::Unit::TestCase ENV['REQUEST_METHOD'] = 'POST' ## set $stdin tmpfile = if RUBY_VERSION >="1.9" - Tempfile.new(self.name, :binmode => true) + Tempfile.new('test_cgi_multipart', :binmode => true) else - Tempfile.new(self.name) + Tempfile.new('test_cgi_multipart') end tmpfile << input tmpfile.rewind() |