Sha256: cd2761e891aaf571de78f1c58f4e7380b205116acc5fbabcb5d76bb0b4e6b075

Contents?: true

Size: 615 Bytes

Versions: 11

Compression:

Stored size: 615 Bytes

Contents

# frozen_string_literal: true

require_relative "helper"
require "open3"

class TestProjectSanity < Gem::TestCase
  def test_manifest_is_up_to_date
    pend unless File.exist?(File.expand_path("../../../Rakefile", __FILE__))

    _, status = Open3.capture2e("rake check_manifest")

    assert status.success?, "Expected Manifest.txt to be up to date, but it's not. Run `rake update_manifest` to sync it."
  end

  def test_require_rubygems_package
    err, status = Open3.capture2e(*ruby_with_rubygems_in_load_path, "--disable-gems", "-e", "require \"rubygems/package\"")

    assert status.success?, err
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rubygems-update-3.3.10 test/rubygems/test_project_sanity.rb
rubygems-update-3.3.9 test/rubygems/test_project_sanity.rb
rubygems-update-3.3.8 test/rubygems/test_project_sanity.rb
rubygems-update-3.3.7 test/rubygems/test_project_sanity.rb
rubygems-update-3.3.6 test/rubygems/test_project_sanity.rb
rubygems-update-3.3.5 test/rubygems/test_project_sanity.rb
rubygems-update-3.3.4 test/rubygems/test_project_sanity.rb
rubygems-update-3.3.3 test/rubygems/test_project_sanity.rb
rubygems-update-3.3.2 test/rubygems/test_project_sanity.rb
rubygems-update-3.3.1 test/rubygems/test_project_sanity.rb
rubygems-update-3.3.0 test/rubygems/test_project_sanity.rb