aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_uninstall_command.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-01 17:21:08 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-01 17:21:08 +0000
commitbad1200f9d1b1082b3aaa46195ab0b332c6d00ac (patch)
tree9b2bb668e78900f58337bb1cb20f47369387eaf1 /test/rubygems/test_gem_commands_uninstall_command.rb
parent1bf2b99d275da110319e498e5d28febe37e9cde1 (diff)
downloadruby-bad1200f9d1b1082b3aaa46195ab0b332c6d00ac.tar.gz
Fix test for testing rake command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_uninstall_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_uninstall_command.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_uninstall_command.rb b/test/rubygems/test_gem_commands_uninstall_command.rb
index cd440f63ee..c9feb31ccb 100644
--- a/test/rubygems/test_gem_commands_uninstall_command.rb
+++ b/test/rubygems/test_gem_commands_uninstall_command.rb
@@ -65,7 +65,10 @@ class TestGemCommandsUninstallCommand < GemInstallerTestCase
util_setup_gem
use_ui @ui do
+ tmp_rake = ENV['rake']
+ ENV['rake'] = @@rake
@installer.install
+ ENV['rake'] = tmp_rake
end
@cmd.options[:args] = ["pre"]