collectiveidea / json_spec

Easily handle JSON in RSpec and Cucumber
rubygems.org/gems/json_spec
MIT License
919 stars 114 forks source link

Fix include_json matcher #69

Open benitoDeLaCasita opened 10 years ago

benitoDeLaCasita commented 10 years ago

include_json matcher can now handle Hash and Array, as well as literals with the == operator

charlierudolph commented 10 years ago

If you are adding some new functionality please add tests.

skalee commented 10 years ago

RSpec runtime dependency cannot be removed — cucumber steps in their current implementation rely on RSpec. See: https://github.com/collectiveidea/json_spec/blob/master/lib/json_spec/cucumber.rb