diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-02 02:36:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-02 02:36:23 +0000 |
commit | 4808c0f0f2b39800862b4019edc7919eac0b4071 (patch) | |
tree | b1209b5ce4759238e82831e82cf3c6f077352167 /test/rubygems | |
parent | 5da34572a5b2b9f57699b997f1892774bd5294b0 (diff) | |
download | ruby-4808c0f0f2b39800862b4019edc7919eac0b4071.tar.gz |
fix redefinitions
* test/rubygems/test_gem_resolver_git_specification.rb: require
rubygems/installer.rb before Gem::TestCase#setup runs, otherwise
as Gem::TestCase#teardown restores $LOADED_FEATURES to the state
at that time, the requiring the file in GitSpecification#install
method causes a lot of constant redefinitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/test_gem_resolver_git_specification.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_resolver_git_specification.rb b/test/rubygems/test_gem_resolver_git_specification.rb index a31674a218..7ab297923c 100644 --- a/test/rubygems/test_gem_resolver_git_specification.rb +++ b/test/rubygems/test_gem_resolver_git_specification.rb @@ -1,4 +1,5 @@ require 'rubygems/test_case' +require 'rubygems/installer' class TestGemResolverGitSpecification < Gem::TestCase |