diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-01 21:50:14 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-01 21:50:14 +0000 |
commit | effdbf5936cc090a618e13c8f9a1b5412ebab2fa (patch) | |
tree | c8410a18cbbe7ad013470fc06fef0c75ce0fd230 /test/rubygems/test_gem_commands_unpack_command.rb | |
parent | 9c4ef4b191a1e6b9abdbb21c7c709d1d0f2397e6 (diff) | |
download | ruby-effdbf5936cc090a618e13c8f9a1b5412ebab2fa.tar.gz |
* lib/rubygems: Update to RubyGems HEAD(c202db2).
this version contains many enhancements see http://git.io/vtNwF
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_unpack_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_unpack_command.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/test/rubygems/test_gem_commands_unpack_command.rb b/test/rubygems/test_gem_commands_unpack_command.rb index 9264b3fc13..05002f8832 100644 --- a/test/rubygems/test_gem_commands_unpack_command.rb +++ b/test/rubygems/test_gem_commands_unpack_command.rb @@ -101,10 +101,8 @@ class TestGemCommandsUnpackCommand < Gem::TestCase def test_execute_remote spec_fetcher do |fetcher| - fetcher.spec 'a', 1 - fetcher.gem 'a', 2 - - fetcher.clear + fetcher.download 'a', 1 + fetcher.download 'a', 2 end Gem.configuration.verbose = :really @@ -184,8 +182,8 @@ class TestGemCommandsUnpackCommand < Gem::TestCase foo_path = File.join(@tempdir, "#{foo_spec.full_name}.gem") foo_bar_path = File.join(@tempdir, "#{foo_bar_spec.full_name}.gem") - Gem::Installer.new(foo_path).install - Gem::Installer.new(foo_bar_path).install + Gem::Installer.at(foo_path).install + Gem::Installer.at(foo_bar_path).install @cmd.options[:args] = %w[foo] |