|
|
|
@ -34,3 +34,12 @@
|
|
|
|
|
[{:type "Image",
|
|
|
|
|
:content "This is what he looks like.",
|
|
|
|
|
:url "http://example.org/cat.jpeg"}])))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(deftest Like-test
|
|
|
|
|
(is (s/valid? ::sut/Like
|
|
|
|
|
{:summary "Sally liked a note",
|
|
|
|
|
:type "Like",
|
|
|
|
|
:actor {:type "Person",
|
|
|
|
|
:name "Sally"},
|
|
|
|
|
:object "http://example.org/notes/1"})))
|
|
|
|
|