Added code to support testing the API communication for polymorphic relationships. This includes adding Spouse to Human for a polymorphic-to-one relationship.
At the moment of PR creation, the backend does not return any children under the /mans/:id/children or /womans/:id/children endpoints. This prevents morph-to-many testing from being functional.
I created this PR to add the tests I was working on for #15; however, I don't think these tests are necessary. Feel free to cancel this PR in the case that you determine that the testing is unnecessary.
Description
Added code to support testing the API communication for polymorphic relationships. This includes adding
Spouse
to Human for a polymorphic-to-one relationship.At the moment of PR creation, the backend does not return any children under the
/mans/:id/children
or/womans/:id/children
endpoints. This prevents morph-to-many testing from being functional.