summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_search_command.rb
blob: afa6ff8d1392b9dce78fa3bbfba2d9c1fd0b9602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true
require_relative "helper"
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