Fix full_description being an object

This commit is contained in:
Michael Miller 2021-06-02 23:41:23 -06:00
parent 98ba607583
commit 8536fcf58c
No known key found for this signature in database
GPG key ID: F9A0C5C65B162436

View file

@ -27,7 +27,7 @@ module Spectator::Formatting
@json.start_object
@json.field("description", example.name? || "<anonymous>")
@json.field("full_description", example)
@json.field("full_description", example.to_s)
if location = example.location?
@json.field("file_path", location.path)