diff options
Diffstat (limited to 'test/rubygems/gemutilities.rb')
-rw-r--r-- | test/rubygems/gemutilities.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/rubygems/gemutilities.rb b/test/rubygems/gemutilities.rb index 460d8f2080..fb41210ac8 100644 --- a/test/rubygems/gemutilities.rb +++ b/test/rubygems/gemutilities.rb @@ -205,15 +205,15 @@ class RubyGemTestCase < Test::Unit::TestCase end def util_make_gems - spec = proc do |s| + init = proc do |s| s.files = %w[lib/code.rb] s.require_paths = %w[lib] end - @a1 = quick_gem('a', '1', &spec) - @a2 = quick_gem('a', '2', &spec) - @b2 = quick_gem('b', '2', &spec) - @c1_2 = quick_gem('c', '1.2', &spec) + @a1 = quick_gem('a', '1', &init) + @a2 = quick_gem('a', '2', &init) + @b2 = quick_gem('b', '2', &init) + @c1_2 = quick_gem('c', '1.2', &init) @pl1 = quick_gem 'pl', '1' do |s| # l for legacy s.files = %w[lib/code.rb] s.require_paths = %w[lib] |