mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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.
f5e0b68cdd
This commit is contained in:
parent
82bb9cedd3
commit
45c5794d32
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class TestGemCommandsOpenCommand < Gem::TestCase
|
||||||
|
|
||||||
def test_execute
|
def test_execute
|
||||||
@cmd.options[:args] = %w[foo]
|
@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'
|
gem 'foo', '1.0.0'
|
||||||
spec = gem 'foo', '1.0.1'
|
spec = gem 'foo', '1.0.1'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue