aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_contents_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_contents_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_contents_command.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_commands_contents_command.rb b/test/rubygems/test_gem_commands_contents_command.rb
index 65644f476b..a8d6efe794 100644
--- a/test/rubygems/test_gem_commands_contents_command.rb
+++ b/test/rubygems/test_gem_commands_contents_command.rb
@@ -10,7 +10,7 @@ class TestGemCommandsContentsCommand < Gem::TestCase
@cmd = Gem::Commands::ContentsCommand.new
end
- def gem name, version = 2
+ def gem(name, version = 2)
spec = quick_gem name, version do |gem|
gem.files = %W[lib/#{name}.rb Rakefile]
end
@@ -237,4 +237,3 @@ lib/foo.rb
end
end
-