mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import rubygems 1.5.0 (release candidate @ 09893d9)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b511e1bfbe
commit
934f537b45
87 changed files with 570 additions and 331 deletions
|
@ -4,10 +4,10 @@
|
|||
# File a patch instead and assign it to Ryan Davis or Eric Hodel.
|
||||
######################################################################
|
||||
|
||||
require "test/rubygems/gemutilities"
|
||||
require 'rubygems/test_case'
|
||||
require 'rubygems/commands/dependency_command'
|
||||
|
||||
class TestGemCommandsDependencyCommand < RubyGemTestCase
|
||||
class TestGemCommandsDependencyCommand < Gem::TestCase
|
||||
|
||||
def setup
|
||||
super
|
||||
|
@ -72,7 +72,7 @@ Gem pl-1-x86-linux
|
|||
def test_execute_no_match
|
||||
@cmd.options[:args] = %w[foo]
|
||||
|
||||
assert_raises MockGemUi::TermError do
|
||||
assert_raises Gem::MockGemUi::TermError do
|
||||
use_ui @ui do
|
||||
@cmd.execute
|
||||
end
|
||||
|
@ -161,7 +161,7 @@ Gem foo-2
|
|||
@cmd.options[:reverse_dependencies] = true
|
||||
@cmd.options[:domain] = :remote
|
||||
|
||||
assert_raises MockGemUi::TermError do
|
||||
assert_raises Gem::MockGemUi::TermError do
|
||||
use_ui @ui do
|
||||
@cmd.execute
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue