summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_setup_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2020-06-02 10:24:32 +0200
committerHiroshi SHIBATA <[email protected]>2020-06-05 07:32:42 +0900
commitdd5b918cbead5fdb641118aa4e4d90e013f90df1 ()
treeeaffeeeabe03c000b03c20509017388323f7a006 /test/rubygems/test_gem_commands_setup_command.rb
parente4d0cca24ae07d7b9797c384a9b6d82983f269e4 (diff)
[rubygems/rubygems] Fix template cleanup as well
https://.com/rubygems/rubygems/commit/10cc79ee21
Notes: Merged: https://.com/ruby/ruby/pull/3184
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb4
1 files changed, 3 insertions, 1 deletions
@@ -276,6 +276,7 @@ class TestGemCommandsSetupCommand < Gem::TestCase
lib_rubygems = File.join lib, 'rubygems'
lib_bundler = File.join lib, 'bundler'
lib_rubygems_defaults = File.join lib_rubygems, 'defaults'
securerandom_rb = File.join lib, 'securerandom.rb'
@@ -287,8 +288,9 @@ class TestGemCommandsSetupCommand < Gem::TestCase
old_builder_rb = File.join lib_rubygems, 'builder.rb'
old_format_rb = File.join lib_rubygems, 'format.rb'
old_bundler_c_rb = File.join lib_bundler, 'c.rb'
- files_that_go = [old_gauntlet_rubygems_rb, old_builder_rb, old_format_rb, old_bundler_c_rb]
files_that_stay = [securerandom_rb, engine_defaults_rb, os_defaults_rb]
create_dummy_files(files_that_go + files_that_stay)