summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_path_support.rb
diff options
context:
space:
mode:
-rw-r--r--test/rubygems/test_gem_path_support.rb15
1 files changed, 9 insertions, 6 deletions
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
require 'rubygems/test_case'
require 'rubygems'
require 'fileutils'
@@ -34,6 +28,15 @@ class TestGemPathSupport < Gem::TestCase
assert_equal expected, ps.path
end
def test_initialize_path
ps = Gem::PathSupport.new "GEM_PATH" => %W[#{@tempdir}/foo #{@tempdir}/bar]