diff options
Diffstat (limited to 'test/rubygems/test_require.rb')
-rw-r--r-- | test/rubygems/test_require.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rubygems/test_require.rb b/test/rubygems/test_require.rb index f4b6abdf17..f8e1d3f26e 100644 --- a/test/rubygems/test_require.rb +++ b/test/rubygems/test_require.rb @@ -66,6 +66,7 @@ class TestGemRequire < Gem::TestCase assert_require 'test_gem_require_a' assert_require 'b/c' # this should be required from -I assert_equal "world", ::Object::HELLO + assert_equal %w(a-1 b-1), loaded_spec_names ensure $LOAD_PATH.replace lp Object.send :remove_const, :HELLO if Object.const_defined? :HELLO |