Sha256: 4975e3f04036c957c00e6a84904947759ff54348debcd468b487f8f42c199170
Contents?: true
Size: 575 Bytes
Versions: 2
Compression:
Stored size: 575 Bytes
Contents
require_relative 'minitest_helper' class TestParseIntegration < MiniTest::Unit::TestCase def test_parsing_json data = Annal::Parse.new(json_text).data assert_kind_of Hash, data end def test_parsing_yaml data = Annal::Parse.new(yaml_text).data assert_kind_of Hash, data end def test_parsing_text data = Annal::Parse.new('Hi there. No format here.').data assert_kind_of String, data end def test_double_parsing parse = Annal::Parse.new(json_text) assert_kind_of Hash, parse.data assert_kind_of Hash, parse.data end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
annal-0.0.2 | test/parse_integration_test.rb |
annal-0.0.1 | test/parse_integration_test.rb |