diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-12-08 22:33:55 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-12-09 08:58:25 +0900 |
commit | 45c5794d325106b212deddeea08477d30bc6df21 (patch) | |
tree | b8c2127c5182327b5b53fb24f99479b8d700a593 /test | |
parent | 82bb9cedd3fb41fd78d612153c35fdb8c5344d5a (diff) | |
download | ruby-45c5794d325106b212deddeea08477d30bc6df21.tar.gz |
[rubygems/rubygems] Don't load system rubygems during tests
Since tests are about testing our development copy of rubygems, not
whatever is installed in the system.
https://github.com/rubygems/rubygems/commit/f5e0b68cdd
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_gem_commands_open_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_open_command.rb b/test/rubygems/test_gem_commands_open_command.rb index 2d62149cc4..29cff1ed97 100644 --- a/test/rubygems/test_gem_commands_open_command.rb +++ b/test/rubygems/test_gem_commands_open_command.rb @@ -21,7 +21,7 @@ class TestGemCommandsOpenCommand < Gem::TestCase def test_execute @cmd.options[:args] = %w[foo] - @cmd.options[:editor] = "#{Gem.ruby} -eexit --" + @cmd.options[:editor] = "#{ruby_with_rubygems_in_load_path} -eexit --" gem 'foo', '1.0.0' spec = gem 'foo', '1.0.1' |