Sha256: 91f7bd6838061439907d91a7d97851b3928b413e71571916a6e279eab800de5a

Contents?: true

Size: 495 Bytes

Versions: 12

Compression:

Stored size: 495 Bytes

Contents

require 'rubygems/test_case'
require 'rubygems/dependency_resolver'

class TestGemDependencyResolverInstalledSpecification < Gem::TestCase

  def test_initialize
    set     = Gem::DependencyResolver::CurrentSet.new

    source_spec = quick_spec 'a'

    spec = Gem::DependencyResolver::InstalledSpecification.new set, source_spec

    assert_equal 'a',                 spec.name
    assert_equal Gem::Version.new(2), spec.version
    assert_equal Gem::Platform::RUBY, spec.platform
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rubygems-update-2.1.11 test/rubygems/test_gem_dependency_resolver_installed_specification.rb
rubygems-update-2.1.10 test/rubygems/test_gem_dependency_resolver_installed_specification.rb
rubygems-update-2.1.9 test/rubygems/test_gem_dependency_resolver_installed_specification.rb
rubygems-update-2.1.8 test/rubygems/test_gem_dependency_resolver_installed_specification.rb
rubygems-update-2.1.7 test/rubygems/test_gem_dependency_resolver_installed_specification.rb
rubygems-update-2.1.6 test/rubygems/test_gem_dependency_resolver_installed_specification.rb
rubygems-update-2.1.5 test/rubygems/test_gem_dependency_resolver_installed_specification.rb
rubygems-update-2.1.4 test/rubygems/test_gem_dependency_resolver_installed_specification.rb
rubygems-update-2.1.3 test/rubygems/test_gem_dependency_resolver_installed_specification.rb
rubygems-update-2.1.2 test/rubygems/test_gem_dependency_resolver_installed_specification.rb
rubygems-update-2.1.1 test/rubygems/test_gem_dependency_resolver_installed_specification.rb
rubygems-update-2.1.0 test/rubygems/test_gem_dependency_resolver_installed_specification.rb