aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-13 14:43:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-13 14:43:14 +0000
commitbcf1fcfeb2221bd1d058c4c66a97df3bf3ca9318 (patch)
tree8c27e3afcb0afd6daa5385ec4c3431d6a1b909be /test/rubygems
parentb0f2785d6c2bd99c39e634304164e343c7c5b4ae (diff)
downloadruby-bcf1fcfeb2221bd1d058c4c66a97df3bf3ca9318.tar.gz
test/rubygems: clear hooks
* test/rubygems/test_gem_commands_pristine_command.rb (setup): clear post_install hook to fix failures when running parallel to test_gem_commands_install_command.rb with -j option. * test/rubygems/test_gem_commands_uninstall_command.rb (setup): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems')
-rw-r--r--test/rubygems/test_gem_commands_pristine_command.rb2
-rw-r--r--test/rubygems/test_gem_commands_uninstall_command.rb1
2 files changed, 3 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_pristine_command.rb b/test/rubygems/test_gem_commands_pristine_command.rb
index 7c0109be2c..b12fba511d 100644
--- a/test/rubygems/test_gem_commands_pristine_command.rb
+++ b/test/rubygems/test_gem_commands_pristine_command.rb
@@ -5,6 +5,8 @@ class TestGemCommandsPristineCommand < Gem::TestCase
def setup
super
+ common_installer_setup
+
@cmd = Gem::Commands::PristineCommand.new
end
diff --git a/test/rubygems/test_gem_commands_uninstall_command.rb b/test/rubygems/test_gem_commands_uninstall_command.rb
index 2e32e397a6..8e90325f1f 100644
--- a/test/rubygems/test_gem_commands_uninstall_command.rb
+++ b/test/rubygems/test_gem_commands_uninstall_command.rb
@@ -5,6 +5,7 @@ class TestGemCommandsUninstallCommand < Gem::InstallerTestCase
def setup
super
+ common_installer_setup
build_rake_in do
use_ui @ui do