1require 'rubygems/test_case' 2require 'rubygems/commands/search_command' 3 4class TestGemCommandsSearchCommand < Gem::TestCase 5 6 def setup 7 super 8 9 @cmd = Gem::Commands::SearchCommand.new 10 end 11 12 def test_initialize 13 assert_equal :remote, @cmd.defaults[:domain] 14 end 15 16end 17 18