summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_list_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_list_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_list_command.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_commands_list_command.rb b/test/rubygems/test_gem_commands_list_command.rb
index 05afbc6..b03f166 100644
--- a/test/rubygems/test_gem_commands_list_command.rb
+++ b/test/rubygems/test_gem_commands_list_command.rb
@@ -8,9 +8,9 @@ class TestGemCommandsListCommand < Gem::TestCase
@cmd = Gem::Commands::ListCommand.new
- util_setup_fake_fetcher
-
- @si = util_setup_spec_fetcher @a1, @a2, @pl1
+ spec_fetcher do |fetcher|
+ fetcher.spec 'c', 1
+ end
@fetcher.data["#{@gem_repo}Marshal.#{Gem.marshal_version}"] = proc do
raise Gem::RemoteFetcher::FetchError