diff options
author | bronzdoc <lsagastume1990@gmail.com> | 2019-09-25 19:31:57 -0600 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-09-26 17:48:01 +0900 |
commit | 0b65a7a19e949eece72a6a961a2642c0e5e19eb0 (patch) | |
tree | 7ea5015c075fd8f818a519cf8a94aa5d45aee995 | |
parent | 4f87a1583dce25749c0492146ef78fcb0319ccd2 (diff) | |
download | ruby-0b65a7a19e949eece72a6a961a2642c0e5e19eb0.tar.gz |
[rubygems/rubygems] Fix test_gem_attr
https://github.com/rubygems/rubygems/commit/7c5b66f9ef
-rw-r--r-- | test/rubygems/test_gem_package.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rubygems/test_gem_package.rb b/test/rubygems/test_gem_package.rb index a282e0cc5f..a4df2bd546 100644 --- a/test/rubygems/test_gem_package.rb +++ b/test/rubygems/test_gem_package.rb @@ -1120,10 +1120,10 @@ class TestGemPackage < Gem::Package::TarTestCase assert_equal @spec, package.spec end - def test_gem_attr - package = Gem::Package.new(@gem) - assert_equal(package.gem, @gem) - end + def test_gem_attr + package = Gem::Package.new(@gem) + assert_equal(package.gem.path, @gem) + end def test_spec_from_io # This functionality is used by rubygems.org to extract spec data from an |