diff options
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() |