Sha256: acee08d497e04928ec85bae7633459efee1ab2bda6ed2bb7d102ee7c08655725

Contents?: true

Size: 585 Bytes

Versions: 2

Compression:

Stored size: 585 Bytes

Contents

# frozen_string_literal: true

require "rubygems/test_case"
require "open3"

class TestRakePackage < Minitest::Test

  def test_builds_ok
    skip unless File.exist?(File.expand_path("../../../Rakefile", __FILE__))

    output, status = Open3.capture2e("rake package")

    assert_equal true, status.success?, <<~MSG.chomp
      Expected `rake package` to work, but got errors:

      ```
      #{output}
      ```

      If you have added or removed files, make sure you run `rake update_manifest` to update the `Manifest.txt` accordingly
    MSG

    FileUtils.rm_f "pkg"
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubygems-update-3.1.0.pre2 test/rubygems/test_rake_package.rb
rubygems-update-3.1.0.pre1 test/rubygems/test_rake_package.rb