[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
This commit is contained in:
parent
82bb9cedd3
commit
45c5794d32
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue