hoxworth/json-schema — comment on commit 9597765f6b7c2d62f043cae456585c1ca27eee49
File: test/test_files.rb line 17
By myronmarston:

I had removed these `if JSON::Validator.json_backend != nil` conditionals because it seems like a bad idea to make all these tests pass if there's no json backend available. That means that someone can clone the repo, run the tests, have them all pass, make a change, see the tests all pass again, and make a pull request, all without large portions of the library being exercised if they don't have a json backend available. I'd much rather see test failures such as `No JSON backend available. Please install multi_json, yajl-ruby or json.` than false positives.