lib/json_matchers/rspec.rb in json_matchers-0.6.1 vs lib/json_matchers/rspec.rb in json_matchers-0.6.2

- old
+ new

@@ -42,9 +42,11 @@ #{pretty_json(schema_body)} FAIL end + private + def pretty_json(json_string) JSON.pretty_generate(JSON.parse(json_string.to_s)) end def schema_path