mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Get rake package
tested
https://github.com/rubygems/rubygems/commit/006cdd4084
This commit is contained in:
parent
bb6bd7e985
commit
61893ddf75
1 changed files with 14 additions and 0 deletions
14
test/rubygems/test_rake_package.rb
Normal file
14
test/rubygems/test_rake_package.rb
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# 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
|
Loading…
Add table
Reference in a new issue