summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_installer.rb
diff options
context:
space:
mode:
authorEloy Espinaco <eloyesp@gmail.com>2022-11-28 14:09:00 -0300
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-20 13:15:02 +0900
commit012ef7d1d035f2c5cdb06bea777c22d72acc78c9 (patch)
treef3a95e1c221e5241e57601bcc7bf14cb21bef254 /test/rubygems/test_gem_installer.rb
parent3fd33590f624ff74d91c1d505f85653902764384 (diff)
[rubygems/rubygems] Fix tests checking intermediate files
Some tests check that the shared objects are actually installed, but checking an intermediate build file instead of the installed one. https://github.com/rubygems/rubygems/commit/ad526073b0
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6966
Diffstat (limited to 'test/rubygems/test_gem_installer.rb')
-rw-r--r--test/rubygems/test_gem_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index f9209350fb..5ba64074f9 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -1559,7 +1559,7 @@ gem 'other', version
write_file File.join(@tempdir, file)
end
- so = File.join(@spec.gem_dir, "#{@spec.name}.#{RbConfig::CONFIG["DLEXT"]}")
+ so = File.join(@spec.extension_dir, "#{@spec.name}.#{RbConfig::CONFIG["DLEXT"]}")
assert_path_not_exist so
use_ui @ui do
path = Gem::Package.build @spec