aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_platform.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-30 12:25:23 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-30 12:25:23 +0000
commitd5bfa31f824005f7a8ce6c2bae1fafd2461aad80 (patch)
treefdca7086d1fbaa6020750c6f8e19b7ed73026e6b /test/rubygems/test_gem_platform.rb
parent587082d57cb4bbf8255239c36cafd253978f87fa (diff)
downloadruby-d5bfa31f824005f7a8ce6c2bae1fafd2461aad80.tar.gz
* runruby.rb: use RbConfig::CONFIG instead of Config::CONFIG.
* spec/default.mspec: ditto. * yarvtest/yarvtest.rb: ditto. * instruby.rb: ditto. * benchmark/report.rb: ditto. * benchmark/runc.rb: ditto. * tool/eval.rb: ditto. * test/rubygems/test_gem.rb: ditto. * test/rubygems/test_config.rb: ditto. * test/rubygems/test_gem_platform.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_platform.rb')
-rw-r--r--test/rubygems/test_gem_platform.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_platform.rb b/test/rubygems/test_gem_platform.rb
index fdb8fb11ed..e71fcd5c5d 100644
--- a/test/rubygems/test_gem_platform.rb
+++ b/test/rubygems/test_gem_platform.rb
@@ -100,8 +100,8 @@ class TestGemPlatform < RubyGemTestCase
end
def test_initialize_mswin32_vc6
- orig_RUBY_SO_NAME = Config::CONFIG['RUBY_SO_NAME']
- Config::CONFIG['RUBY_SO_NAME'] = 'msvcrt-ruby18'
+ orig_RUBY_SO_NAME = RbConfig::CONFIG['RUBY_SO_NAME']
+ RbConfig::CONFIG['RUBY_SO_NAME'] = 'msvcrt-ruby18'
expected = ['x86', 'mswin32', nil]
@@ -109,7 +109,7 @@ class TestGemPlatform < RubyGemTestCase
assert_equal expected, platform.to_a, 'i386-mswin32 VC6'
ensure
- Config::CONFIG['RUBY_SO_NAME'] = orig_RUBY_SO_NAME
+ RbConfig::CONFIG['RUBY_SO_NAME'] = orig_RUBY_SO_NAME
end
def test_initialize_platform