aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_platform.rb
diff options
context:
space:
mode:
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