* test/ruby/envutil.rb (Test::Unit::Assertions#assert_file): rename from file_assertion.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2012-10-16 04:02:04 +00:00
parent 41e5fdb20f
commit 66141d47d7
8 changed files with 27 additions and 22 deletions

View file

@ -403,8 +403,8 @@ class TestProcess < Test::Unit::TestCase
with_tmpchdir {|d|
Dir.mkdir "foo"
system(*PWD, :chdir => "foo", :out => "open_chdir_test")
file_assertion.exist?("open_chdir_test")
file_assertion.not_exist?("foo/open_chdir_test")
assert_file.exist?("open_chdir_test")
assert_file.not_exist?("foo/open_chdir_test")
assert_equal("#{d}/foo", File.read("open_chdir_test").chomp)
}
end