aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_stub_specification.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-10 19:54:19 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-10 19:54:19 +0000
commitd6a5fe709ec4b04589684074d901b1ec21e812dc (patch)
tree788d3275be2ed25299ea658b236cdaed4e0456b7 /test/rubygems/test_gem_stub_specification.rb
parentd36a129d7bccf61ef283ebd8f050bf00c78b88b9 (diff)
downloadruby-d6a5fe709ec4b04589684074d901b1ec21e812dc.tar.gz
* lib/rubygems: Update to RubyGems master ec8ed22. Notable changes
include: * Renamed extension_install_dir to extension_dir (backwards compatible). * Fixed creation of gem.deps.rb.lock file from TestGemRequestSet#test_install_from_gemdeps_install_dir * Fixed a typo and some documentation. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_stub_specification.rb')
-rw-r--r--test/rubygems/test_gem_stub_specification.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_stub_specification.rb b/test/rubygems/test_gem_stub_specification.rb
index 50621e28ae..c4c07597f5 100644
--- a/test/rubygems/test_gem_stub_specification.rb
+++ b/test/rubygems/test_gem_stub_specification.rb
@@ -23,7 +23,7 @@ class TestStubSpecification < Gem::TestCase
def test_initialize_extension
stub = stub_with_extension
- ext_install_dir = Pathname(stub.extension_install_dir)
+ ext_install_dir = Pathname(stub.extension_dir)
full_gem_path = Pathname(stub.full_gem_path)
relative_install_dir = ext_install_dir.relative_path_from full_gem_path
relative_install_dir = relative_install_dir.to_s
@@ -70,7 +70,7 @@ class TestStubSpecification < Gem::TestCase
refute stub.contains_requirable_file? 'nonexistent'
- assert_path_exists stub.extension_install_dir
+ assert_path_exists stub.extension_dir
end
end
@@ -78,7 +78,7 @@ class TestStubSpecification < Gem::TestCase
stub = stub_with_extension
expected = [
- stub.extension_install_dir,
+ stub.extension_dir,
File.join(stub.full_gem_path, 'lib'),
]