diff options
-rw-r--r-- | lib/rubygems/test_utilities.rb | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -241,21 +241,22 @@ class Gem::TestCase::SpecFetcherSetup def execute_operations # :nodoc: @operations.each do |operation, *arguments| case operation when :gem then - spec, gem = @test.util_gem(*arguments, &arguments.pop) write_spec spec @gems[spec] = gem @installed << spec when :download then - spec, gem = @test.util_gem(*arguments, &arguments.pop) @gems[spec] = gem @downloaded << spec when :spec then - spec = @test.util_spec(*arguments, &arguments.pop) write_spec spec |