Sha256: 4f2e7b3d4c30f07d9aeead21db4b23bbca0f93a680b3fce5190053313dd492c0
Contents?: true
Size: 476 Bytes
Versions: 3
Compression:
Stored size: 476 Bytes
Contents
require 'rubygems/test_case' class TestGemResolverIndexSet < Gem::TestCase def setup super @DR = Gem::Resolver end def test_initialize set = @DR::IndexSet.new fetcher = set.instance_variable_get :@f assert_same Gem::SpecFetcher.fetcher, fetcher end def test_initialize_source set = @DR::IndexSet.new 'http://alternate.example' fetcher = set.instance_variable_get :@f refute_same Gem::SpecFetcher.fetcher, fetcher end end
Version data entries
3 entries across 3 versions & 1 rubygems