summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_stub_specification.rb
diff options
context:
space:
mode:
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'),
]