mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
15 lines
304 B
Ruby
15 lines
304 B
Ruby
![]() |
# frozen_string_literal: true
|
||
|
|
||
|
require "rubygems/test_case"
|
||
|
require "open3"
|
||
|
|
||
|
class TestRakePackage < Minitest::Test
|
||
|
|
||
|
def test_builds_ok
|
||
|
output, status = Open3.capture2e("rake package")
|
||
|
|
||
|
assert_equal true, status.success?, "Expected `rake package` to work, but got errors: #{output}"
|
||
|
end
|
||
|
|
||
|
end
|