aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_installer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_installer.rb')
-rw-r--r--test/rubygems/test_gem_installer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index 8020a42690..76828917ec 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -749,12 +749,12 @@ gem 'other', version
end
def test_generate_plugins_with_install_dir
- spec = quick_gem 'a' do |spec|
+ spec = quick_gem 'a' do |s|
write_file File.join(@tempdir, 'lib', 'rubygems_plugin.rb') do |io|
io.write "puts __FILE__"
end
- spec.files += %w[lib/rubygems_plugin.rb]
+ s.files += %w[lib/rubygems_plugin.rb]
end
util_build_gem spec