Sha256: 896e038f29440195b298cab251bd2a84fb8ca82a8a794fe6d7e6e7b75f979bef

Contents?: true

Size: 364 Bytes

Versions: 26

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true
require 'rubygems/test_case'
require 'rubygems/commands/mirror_command'

class TestGemCommandsMirrorCommand < Gem::TestCase
  def setup
    super

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

  def test_execute
    use_ui @ui do
      @cmd.execute
    end

    assert_match %r{Install the rubygems-mirror}i, @ui.error
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
rubygems-update-3.2.4 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.3 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.2 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.1 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.0 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.0.rc.2 test/rubygems/test_gem_commands_mirror.rb