Module: PdfMatcher::Testing::Assertion
- Included in:
- Minitest::Test
- Defined in:
- lib/pdf_matcher/testing/assertion.rb
Instance Method Summary collapse
Instance Method Details
#assert_match_pdf(expected_pdf, actual_pdf, options = nil) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/pdf_matcher/testing/assertion.rb', line 9 def assert_match_pdf(expected_pdf, actual_pdf, = nil) output_diff = &.fetch(:output_diff) = FailureMessage.build(output_diff) assert PdfMatcher.match?(expected_pdf, actual_pdf, output_diff: output_diff), end |