require 'rubygems/test_case' class TestGemResolverDependencyRequest < Gem::TestCase def setup super @DR = Gem::Resolver::DependencyRequest end def test_requirement dependency = dep 'a', '>= 1' dr = @DR.new dependency, nil assert_equal dependency, dr.dependency end end