Sha256: 5fe47de208ae7d5671d49d4a071a9b722facc444cf55c13b7e303778859c5256
Contents?: true
Size: 337 Bytes
Versions: 1
Compression:
Stored size: 337 Bytes
Contents
require 'json/api' class SchemaTest < MiniTest::Unit::TestCase def test_homepage_id_style json = <<-JSON { "posts": [{ "id": "1", "title": "Rails is Omakase", "links": { "author": "9", "comments": [ "5", "12", "17", "20" ] } }] } JSON assert JSON::Api.parse(json), "failed to parse" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
json-api-0.1.1 | test/schema_test.rb |