summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-04 01:58:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-04 01:58:49 +0000
commit8d7f6552617f18da8fd5a03960ac5cfc78a8fb43 (patch)
tree27c3ffceca9e87e82100fa07370dbc92265813fd /test
parent837d30371b01e4531954dcfeff5378a2e6436e29 (diff)
test_tempfile.rb: assert_file
* test/test_tempfile.rb (test_default_basename): use assert_file for more descriptive message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/test_tempfile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_tempfile.rb b/test/test_tempfile.rb
index 6bba13473c8..f1bf1ae8037 100644
--- a/test/test_tempfile.rb
+++ b/test/test_tempfile.rb
@@ -59,7 +59,7 @@ class TestTempfile < Test::Unit::TestCase
def test_default_basename
t = tempfile
- assert File.exist?(t.path)
+ assert_file.exist?(t.path)
end
def test_basename_with_suffix