test/excon/link_object_test.rb in excon-hypermedia-0.5.3 vs test/excon/link_object_test.rb in excon-hypermedia-0.6.0

- old
+ new

@@ -15,21 +15,21 @@ def templated '{ "href": "https://example.org/hello/{receiver}", "templated": "true" }' end def full - <<-EOF + <<-JSON { "href": "https://example.org/goodbye/{receiver}", "templated": "true", "type": "json", "deprecation": true, "name": "goodbye", "profile": "https://profile.example.org", "title": "Goodbye!", "hreflang": "en-gb" } - EOF + JSON end def data(name) JSON.parse(send(name)) end