Sha256: 25fb36cd78366a8e9603c8fac0f2aedf187610a57972e0be9ff7597254ab9999
Contents?: true
Size: 611 Bytes
Versions: 2
Compression:
Stored size: 611 Bytes
Contents
require_relative 'minitest_helper' class TestAnnalIntegration < MiniTest::Unit::TestCase def test_loading_json doc = Annal::Document.new(json_text) assert_kind_of Hash, doc.data end def test_loading_yaml doc = Annal::Document.new(yaml_text) assert_kind_of Hash, doc.data end def test_find_local doc = Annal::Document.find("#{Annal.project_root}/test/test.json") assert_kind_of Hash, doc.data assert_kind_of Hash, doc.data end def test_find_net doc = Annal::Document.find(json_url) assert_kind_of Hash, doc.data assert_kind_of Hash, doc.data end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
annal-0.0.4 | test/annal_integration_test.rb |
annal-0.0.3 | test/annal_integration_test.rb |