mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import RubyGems 1.1.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dc8359969e
commit
8cc45aae94
82 changed files with 5776 additions and 2928 deletions
|
@ -62,6 +62,21 @@ class TestGemCommandsEnvironmentCommand < RubyGemTestCase
|
|||
assert_equal '', @ui.error
|
||||
end
|
||||
|
||||
def test_execute_gempath_multiple
|
||||
Gem.clear_paths
|
||||
path = [@gemhome, "#{@gemhome}2"].join File::PATH_SEPARATOR
|
||||
ENV['GEM_PATH'] = path
|
||||
|
||||
@cmd.send :handle_options, %w[gempath]
|
||||
|
||||
use_ui @ui do
|
||||
@cmd.execute
|
||||
end
|
||||
|
||||
assert_equal "#{Gem.path.join File::PATH_SEPARATOR}\n", @ui.output
|
||||
assert_equal '', @ui.error
|
||||
end
|
||||
|
||||
def test_execute_packageversion
|
||||
@cmd.send :handle_options, %w[packageversion]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue