diff options
-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 |