summaryrefslogtreecommitdiff
path: root/test/test_tempfile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_tempfile.rb')
-rw-r--r--test/test_tempfile.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_tempfile.rb b/test/test_tempfile.rb
index 203059e41c..8fcba3aea8 100644
--- a/test/test_tempfile.rb
+++ b/test/test_tempfile.rb
@@ -8,8 +8,8 @@ class TestTempfile < Test::Unit::TestCase
@tempfile = nil
end
- def tempfile(*args, &block)
- t = Tempfile.new(*args, &block)
+ def tempfile(*args, **kw, &block)
+ t = Tempfile.new(*args, **kw, &block)
@tempfile = (t unless block)
end