diff --git a/pact/matchers.py b/pact/matchers.py index 7d293480a..77d8d2e92 100644 --- a/pact/matchers.py +++ b/pact/matchers.py @@ -117,7 +117,7 @@ def generate(self): """ return { 'json_class': 'Pact::SomethingLike', - 'contents': self.matcher} + 'contents': from_term(self.matcher)} class Term(Matcher):