aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_push_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_push_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_push_command.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_push_command.rb b/test/rubygems/test_gem_commands_push_command.rb
index 41324b524e..5245e864d2 100644
--- a/test/rubygems/test_gem_commands_push_command.rb
+++ b/test/rubygems/test_gem_commands_push_command.rb
@@ -46,6 +46,7 @@ class TestGemCommandsPushCommand < Gem::TestCase
def send_battery
use_ui @ui do
+ @cmd.instance_variable_set :@host, @host
@cmd.send_gem(@path)
end
@@ -133,7 +134,7 @@ class TestGemCommandsPushCommand < Gem::TestCase
end
def test_raises_error_with_no_arguments
- def @cmd.sign_in; end
+ def @cmd.sign_in(*); end
assert_raises Gem::CommandLineError do
@cmd.execute
end