summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_install_command.rb
diff options
context:
space:
mode:
-rw-r--r--test/rubygems/test_gem_commands_install_command.rb66
1 files changed, 64 insertions, 2 deletions
@@ -6,7 +6,6 @@ class TestGemCommandsInstallCommand < Gem::TestCase
def setup
super
- common_installer_setup
@cmd = Gem::Commands::InstallCommand.new
@cmd.options[:document] = []
@@ -169,7 +168,8 @@ class TestGemCommandsInstallCommand < Gem::TestCase
# This is needed because we need to exercise the cache path
# within SpecFetcher
- path = File.join Gem.spec_cache_dir, "not-there.nothing%80", "latest_specs.4.8"
FileUtils.mkdir_p File.dirname(path)
@@ -633,6 +633,67 @@ ERROR: Possible alternatives: non_existent_with_hint
assert_equal x, e
end
def test_execute_uses_from_a_gemdeps
util_setup_fake_fetcher
util_setup_spec_fetcher
@@ -890,3 +951,4 @@ ERROR: Possible alternatives: non_existent_with_hint
end