diff options
author | Josef Šimánek <josef.simanek@gmail.com> | 2020-04-19 18:16:41 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-08 07:38:50 +0900 |
commit | 832a7b04589578b52297db6a9943e0c6c003fbfc (patch) | |
tree | 82705b5075092a4f783c4ad6ab263cf533724d88 /lib | |
parent | 856cbbdd52eaafd27c21a8f4dea7e89373667694 (diff) | |
download | ruby-832a7b04589578b52297db6a9943e0c6c003fbfc.tar.gz |
[rubygems/rubygems] Add gem build test to check for removed methods.
https://github.com/rubygems/rubygems/commit/c07b9cf4f1
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rubygems/test_case.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index b5c377f43a..f1f6b853a4 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -110,6 +110,8 @@ class Gem::TestCase < Minitest::Test TEST_PATH = ENV.fetch('RUBYGEMS_TEST_PATH', File.expand_path('../../../test/rubygems', __FILE__)) + SPECIFICATIONS = File.expand_path(File.join(TEST_PATH, "specifications"), __FILE__) + def assert_activate(expected, *specs) specs.each do |spec| case spec |