collectiveidea/json_spec — pull request #25 by inossidabile (2012-04-09 22:29:09+00:00)
Title: have_json_fields matcher

This matcher allows to check existence of fields set ignoring their values. Can be useful for highly-random large hashes acceptance testing.

```ruby
%({"a": "a", "b": "b", "c": "c"}).should have_json_fields(%w(a b c))
```