mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
cancel subversion backfire. sorry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fc634cc092
commit
1df42597d1
63 changed files with 1830 additions and 713 deletions
|
|
@ -16,7 +16,7 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_execute
|
||||
foo = quick_gem 'foo'
|
||||
foo = quick_spec 'foo'
|
||||
Gem.source_index.add_spec foo
|
||||
|
||||
@cmd.options[:args] = %w[foo]
|
||||
|
|
@ -31,8 +31,8 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_execute_all
|
||||
quick_gem 'foo', '0.0.1'
|
||||
quick_gem 'foo', '0.0.2'
|
||||
quick_spec 'foo', '0.0.1'
|
||||
quick_spec 'foo', '0.0.2'
|
||||
|
||||
@cmd.options[:args] = %w[foo]
|
||||
@cmd.options[:all] = true
|
||||
|
|
@ -62,8 +62,8 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_execute_exact_match
|
||||
quick_gem 'foo'
|
||||
quick_gem 'foo_bar'
|
||||
quick_spec 'foo'
|
||||
quick_spec 'foo_bar'
|
||||
|
||||
@cmd.options[:args] = %w[foo]
|
||||
|
||||
|
|
@ -77,7 +77,7 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_execute_field
|
||||
foo = quick_gem 'foo'
|
||||
foo = quick_spec 'foo'
|
||||
Gem.source_index.add_spec foo
|
||||
|
||||
@cmd.options[:args] = %w[foo name]
|
||||
|
|
@ -90,7 +90,7 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_execute_marshal
|
||||
foo = quick_gem 'foo'
|
||||
foo = quick_spec 'foo'
|
||||
Gem.source_index.add_spec foo
|
||||
|
||||
@cmd.options[:args] = %w[foo]
|
||||
|
|
@ -126,7 +126,7 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_execute_ruby
|
||||
foo = quick_gem 'foo'
|
||||
foo = quick_spec 'foo'
|
||||
Gem.source_index.add_spec foo
|
||||
|
||||
@cmd.options[:args] = %w[foo]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue