summaryrefslogtreecommitdiff
path: root/test/rubygems/test_config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_config.rb')
-rw-r--r--test/rubygems/test_config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_config.rb b/test/rubygems/test_config.rb
index 79f300fd9c..f8aadb4a23 100644
--- a/test/rubygems/test_config.rb
+++ b/test/rubygems/test_config.rb
@@ -8,7 +8,7 @@ class TestConfig < Gem::TestCase
util_make_gems
spec = Gem::Specification.find_by_name("a")
spec.activate
- assert_equal "#{spec.full_gem_path}/data/a", Gem.datadir('a')
+ assert_equal "#{spec.full_gem_path}/data/a", spec.datadir
end
def test_good_rake_path_is_escaped