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.24 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.23 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.22 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.21 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.20 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.19 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.18 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.17 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.16 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.15 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.14 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.13 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.12 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.11 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.10 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.9 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.8 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.7 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.6 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.2.5 test/rubygems/test_gem_commands_mirror.rb