Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
12345678RSpec::Matchers.define :match_response_schema do |schema| match do |response| schema_directory = "#{Dir.pwd}/spec/support/api/v4" schema_path = "#{schema_directory}/#{schema}.json" JSON::Validator.validate!(schema_path, response.body, strict: true) endend