aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--test/cgi/test_cgi_multipart.rb4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index cdd34abb93..195ebb309a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jul 15 04:22:54 2009 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * test/cgi/test_cgi_multipart.rb (CGIMultipartTest#_prepare):
+ set tempfile name with literal.
+
Tue Jul 14 21:53:18 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/io/nonblock: moved from ext/io/wait/lib.
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()