1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/rubygems/test_gem_resolver_composed_set.rb
drbrain ea2a00d785 * lib/rubygems: Update to RubyGems 2.2.2 prerelease to check fixes to
CI.
	* test/rubygems:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-04 00:48:31 +00:00

18 lines
358 B
Ruby

require 'rubygems/test_case'
class TestGemResolverComposedSet < Gem::TestCase
def test_remote_equals
best_set = Gem::Resolver::BestSet.new
current_set = Gem::Resolver::CurrentSet.new
set = Gem::Resolver::ComposedSet.new best_set, current_set
set.remote = false
refute best_set.remote?
refute current_set.remote?
end
end