- assert_equal id, js["note"]["id"]
- assert_equal "open", js["note"]["status"]
- assert_equal "opened", js["note"]["comments"].last["event"]
- assert_equal "This is a comment", js["note"]["comments"].last["body"]
- assert_equal "new_tester (a)", js["note"]["comments"].last["author_name"]
+ assert_equal "Feature", js["type"]
+ assert_equal "Point", js["geometry"]["type"]
+ assert_equal [-1.0, -1.0], js["geometry"]["coordinates"]
+ assert_equal id, js["properties"]["id"]
+ assert_equal "open", js["properties"]["status"]
+ assert_equal 1, js["properties"]["comments"].count
+ assert_equal "opened", js["properties"]["comments"].last["action"]
+ assert_equal "This is a comment", js["properties"]["comments"].last["text"]
+ assert_equal "new_tester (a)", js["properties"]["comments"].last["user"]