Sha256: 5a025c16c1fb7245b618e499710deb53e646fe0691f0069c1fba53d593d71d7e
Contents?: true
Size: 877 Bytes
Versions: 12
Compression:
Stored size: 877 Bytes
Contents
require 'helper' class TestReal < Test::Unit::TestCase def setup super BrighterPlanet.metadata.refresh FakeWeb.clean_registry FakeWeb.allow_net_connect = true $old_fallback = BrighterPlanet::Metadata::FALLBACK silence_warnings { BrighterPlanet::Metadata.const_set 'FALLBACK', Hash.new([]) } end def teardown super silence_warnings { BrighterPlanet::Metadata.const_set 'FALLBACK', $old_fallback } end def test_emitters assert ::BrighterPlanet.metadata.emitters.include?('AutomobileTrip') end def test_resources assert ::BrighterPlanet.metadata.resources.include?('AutomobileMake') end def test_datasets assert ::BrighterPlanet.metadata.datasets.include?('AutomobileIndustry') end def test_protocols assert ::BrighterPlanet.metadata.protocols.values.include?('The Climate Registry') end end
Version data entries
12 entries across 12 versions & 1 rubygems