Sha256: 8eb3ea271055abfcbe78bcecdd890c7cb2b7d1af4400b5eadd4b1b4f9752ebcf
Contents?: true
Size: 783 Bytes
Versions: 4
Compression:
Stored size: 783 Bytes
Contents
require 'test/unit' require 'voruby/resources/voregistry/voregistry_v1_0' require 'test/resources/voresource/unittest_v1_0' include VORuby::Resources::VORegistry::V1_0 class RegistryTest < ServiceTest def setup assert_nothing_raised { @res = Registry.load_from_file('test/resources/voregistry/registry_service_v1_0.xml') } end def test_full assert_equal(false, @res.full) end def test_managed_authorities assert_equal('STScI', @res.managed_authorities[0].value) end end class AuthorityTest < ResourceTest def setup assert_nothing_raised { @res = Authority.load_from_file('test/resources/voregistry/authority_resource_v1_0.xml') } end def test_managing_org assert_equal('STScI', @res.managing_org.value) end end
Version data entries
4 entries across 4 versions & 1 rubygems