Skip to content

test: cover with_body with pact:matcher:combine OR integration JSON - #2

Draft
YOU54F wants to merge 2 commits into
mainfrom
feat/or-matcher
Draft

YOU54F wants to merge 2 commits into
mainfrom
feat/or-matcher

Conversation

@YOU54F

@YOU54F YOU54F commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Summary

Adds spec/pactffi_or_matcher_spec.rb, which covers pactffi_with_body with "pact:matcher:combine": "OR" integration JSON. It checks the matching rules written to the pact file and the mock server's results.

Testing

3 examples passed locally against a pact_ffi build with #601.

Depends on

Warning

The last commit (test: consume pact_ffi 0.5.13-or.1 … (revert before merge)) points this repo at the fork prerelease so CI can test it end to end. Revert it and bump to the released pact_ffi before merging upstream.

pact-ruby (YOU54F/pact-ruby, feat/or-matcher-integration-json) installs pact_ffi from this branch in its CI.

🤖 Generated with Claude Code

YOU54F and others added 2 commits November 9, 2026 17:33
… matcher

Requires a pact_ffi with combine support (pact-foundation/pact-reference#601).
No library change is needed: with_body passes the integration JSON through.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…evert before merge)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant