json_assert
Easily handle JSON in Test::Unit.
This is completely copied from the excellent json_spec gem found here https://github.com/collectiveidea/json_spec
I wanted the same features for a project where rspec was not available
Installation
gem install json_assert
or with Bundler:
gem "json_assert"
Documentation
json_assert defines six new assertions:
assert_json_eqlassert_part_jsonassert_include_jsonassert_json_pathassert_json_typeassert_json_size
Copyright
Copyright © 2011 Frazer Horn See LICENSE for details.