1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2015-01-04 01:58:49 +00:00
parent 837d30371b
commit 8d7f655261

View file

@ -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