Added Object-test

main
Clemens 10 months ago
parent 87a089f0a0
commit 44f1d10462

@ -73,3 +73,15 @@
:actor {:type "Person",
:name "Sally"},
:object "http://example.org/notes/1"})))
(deftest Object-test
(is (s/valid? ::sut/Object
{:summary "Sally liked a note",
:type "Like",
:actor {:type "Person",
:name "Sally"},
:object "http://example.org/notes/1"}))
(is (s/valid? ::sut/Object
{:type "Object",
:id "http://www.test.example/object/1",
:name "A Simple, non-specific object"})))

Loading…
Cancel
Save