diff --git a/src/test/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_test.cljc b/src/test/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_test.cljc index f9ce1fe..4f371f2 100644 --- a/src/test/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_test.cljc +++ b/src/test/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_test.cljc @@ -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"})))