aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-15 13:14:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-15 13:14:48 +0000
commit32569104e121e6dc7363acf37b5aef766bd04d4d (patch)
tree19750e8770748ef40b914b199f66e2397deb8d81 /test/ruby/test_process.rb
parenta17cb167ea5e0f0690a94d8f39b821a43aebd456 (diff)
downloadruby-32569104e121e6dc7363acf37b5aef766bd04d4d.tar.gz
envutil.rb: file_assertion
* test/ruby/envutil.rb (Test::Unit::Assertions#file_assertion): rewrite file assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index b0a43a1bd5..83f074af81 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -403,8 +403,8 @@ class TestProcess < Test::Unit::TestCase
with_tmpchdir {|d|
Dir.mkdir "foo"
system(*PWD, :chdir => "foo", :out => "open_chdir_test")
- assert_file(:exist?, "open_chdir_test")
- assert_file_not(:exist?, "foo/open_chdir_test")
+ file_assertion.exist?("open_chdir_test")
+ file_assertion.not_exist?("foo/open_chdir_test")
assert_equal("#{d}/foo", File.read("open_chdir_test").chomp)
}
end