Sha256: cf05698e847c924f5935c150fb69bae5a03e03692384e1552e780d0483376927

Contents?: true

Size: 365 Bytes

Versions: 40

Compression:

Stored size: 365 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

40 entries across 40 versions & 2 rubygems

Version Path
rubygems-update-3.0.9 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-2.7.11 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.0.8 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.0.7 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.0.6 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.0.5 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.0.4 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-2.7.10 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-2.7.9 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.0.3 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.0.2 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.0.1 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-3.0.0 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-2.7.8 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-2.7.7 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-2.7.6 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-2.7.5 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-2.7.4 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-2.7.4.pre1 test/rubygems/test_gem_commands_mirror.rb
rubygems-update-2.7.3 test/rubygems/test_gem_commands_mirror.rb