Closed rangerscience closed 7 years ago
Comfortable with a pull request?
Maybe? Do you mean, "make my own fork and accept a pull request from you"?
I mean please feel free to fork the repo, make the change (with tests) and submit a pull request.
I could make a go of it.
The lazy fix is pretty simple - just enable diffing
for the include matcher, but it breaks a lot of tests and it's the same diff you'd get with be
. Dunno yet if that's the best.
https://github.com/narfanator/json_spec/commit/1e36fc67d2df5f1dcb6aef57040bbfe793331c5b
...course, the tests fail because it breaks things that way. Fixed; just provide what's needed for the diff (diffable, expected, actual), but don't override any of the existing functionality. I think the full diff works - rather than just showing what's expected and missing - since it provides context. I'll chuck you a pull request, and if you want some more in the way of testing/functionality, let me know?
I submitted PR related to this issue, but closed it since it wasn't reviewed.. https://github.com/collectiveidea/json_spec/pull/42
Thoughts?
Closed via #53
Whereas:
Ruby 2 / Rails 4 / JSON Spec 1.1.1