summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_install_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-25 21:05:45 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-12 17:24:43 +0900
commit3948be350312b908ea3ecf32ecf1adf420fe74ca (patch)
tree8f01de8e25e201e16a4f15b1124f7251a892d0a4 /test/rubygems/test_gem_commands_install_command.rb
parent81d793a9216303f70143b13a88c924c22ce4af6d (diff)
[rubygems/rubygems] Use assert_path_exist and assert_path_not_exist instead of assert_path_exists and refute_path_exists
https://github.com/rubygems/rubygems/commit/a7c93558c3
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4491
Diffstat (limited to 'test/rubygems/test_gem_commands_install_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_install_command.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rubygems/test_gem_commands_install_command.rb b/test/rubygems/test_gem_commands_install_command.rb
index c8015f9985..34b4aae1e5 100644
--- a/test/rubygems/test_gem_commands_install_command.rb
+++ b/test/rubygems/test_gem_commands_install_command.rb
@@ -667,8 +667,8 @@ ERROR: Possible alternatives: non_existent_with_hint
wait_for_child_process_to_exit
- assert_path_exists File.join(a2.doc_dir, 'ri')
- assert_path_exists File.join(a2.doc_dir, 'rdoc')
+ assert_path_exist File.join(a2.doc_dir, 'ri')
+ assert_path_exist File.join(a2.doc_dir, 'rdoc')
end
def test_execute_rdoc_with_path
@@ -704,7 +704,7 @@ ERROR: Possible alternatives: non_existent_with_hint
wait_for_child_process_to_exit
- assert_path_exists 'whatever/doc/a-2', 'documentation not installed'
+ assert_path_exist 'whatever/doc/a-2', 'documentation not installed'
end
def test_execute_saves_build_args
@@ -739,7 +739,7 @@ ERROR: Possible alternatives: non_existent_with_hint
end
path = a2.build_info_file
- assert_path_exists path
+ assert_path_exist path
assert_equal args, a2.build_args
end