summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_search_command.rb
blob: fb8debc245a72607a9706d6c9239a35ecc20b994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'rubygems/test_case'
require 'rubygems/commands/search_command'

class TestGemCommandsSearchCommand < Gem::TestCase

  def setup
    super

    @cmd = Gem::Commands::SearchCommand.new
  end

  def test_initialize
    assert_equal :remote, @cmd.defaults[:domain]
  end

end