summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_ext_cmake_builder.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_ext_cmake_builder.rb')
-rw-r--r--test/rubygems/test_gem_ext_cmake_builder.rb12
1 files changed, 3 insertions, 9 deletions
diff --git a/test/rubygems/test_gem_ext_cmake_builder.rb b/test/rubygems/test_gem_ext_cmake_builder.rb
index 60a1fa13f6..e347359679 100644
--- a/test/rubygems/test_gem_ext_cmake_builder.rb
+++ b/test/rubygems/test_gem_ext_cmake_builder.rb
@@ -36,9 +36,7 @@ install (FILES test.txt DESTINATION bin)
output = []
- Dir.chdir @ext do
- Gem::Ext::CmakeBuilder.build nil, @dest_path, output
- end
+ Gem::Ext::CmakeBuilder.build nil, @dest_path, output, [], nil, @ext
output = output.join "\n"
@@ -54,9 +52,7 @@ install (FILES test.txt DESTINATION bin)
output = []
error = assert_raises Gem::InstallError do
- Dir.chdir @ext do
- Gem::Ext::CmakeBuilder.build nil, @dest_path, output
- end
+ Gem::Ext::CmakeBuilder.build nil, @dest_path, output, [], nil, @ext
end
output = output.join "\n"
@@ -77,9 +73,7 @@ install (FILES test.txt DESTINATION bin)
output = []
- Dir.chdir @ext do
- Gem::Ext::CmakeBuilder.build nil, @dest_path, output
- end
+ Gem::Ext::CmakeBuilder.build nil, @dest_path, output, [], nil, @ext
output = output.join "\n"