Sha256: b7e8870a48993a330c431fb97033304758102db93d6e59dbb6df2e544708bd44
Contents?: true
Size: 469 Bytes
Versions: 2
Compression:
Stored size: 469 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 doc = Annal::Document.find("#{Annal.project_root}/test/test.json") 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.2 | test/annal_integration_test.rb |
annal-0.0.1 | test/annal_integration_test.rb |