mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
[rubygems/rubygems] Use assert_path_exist and assert_path_not_exist instead of assert_path_exists and refute_path_exists
a7c93558c3
This commit is contained in:
parent
81d793a921
commit
3948be3503
Notes:
git
2021-05-12 17:25:22 +09:00
36 changed files with 302 additions and 302 deletions
|
@ -211,7 +211,7 @@ class TestGemCommandsUpdateCommand < Gem::TestCase
|
|||
|
||||
@cmd.execute
|
||||
|
||||
refute_path_exists Gem.plugindir, "Plugins folder not removed when updating rubygems to pre-3.2"
|
||||
assert_path_not_exist Gem.plugindir, "Plugins folder not removed when updating rubygems to pre-3.2"
|
||||
end
|
||||
|
||||
def test_execute_system_specific_newer_than_or_equal_to_3_2_leaves_plugins_dir_alone
|
||||
|
@ -239,8 +239,8 @@ class TestGemCommandsUpdateCommand < Gem::TestCase
|
|||
|
||||
@cmd.execute
|
||||
|
||||
assert_path_exists Gem.plugindir, "Plugin folder removed when updating rubygems to post-3.2"
|
||||
assert_path_exists plugin_file, "Plugin removed when updating rubygems to post-3.2"
|
||||
assert_path_exist Gem.plugindir, "Plugin folder removed when updating rubygems to post-3.2"
|
||||
assert_path_exist plugin_file, "Plugin removed when updating rubygems to post-3.2"
|
||||
end
|
||||
|
||||
def test_execute_system_specifically_to_latest_version
|
||||
|
@ -384,7 +384,7 @@ class TestGemCommandsUpdateCommand < Gem::TestCase
|
|||
|
||||
a2 = @specs['a-2']
|
||||
|
||||
assert_path_exists File.join(a2.doc_dir, 'rdoc')
|
||||
assert_path_exist File.join(a2.doc_dir, 'rdoc')
|
||||
end
|
||||
|
||||
def test_execute_named
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue