We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d63ae0b commit 94f9e59Copy full SHA for 94f9e59
1 file changed
test/invoice_test.rb
@@ -588,5 +588,12 @@ def test_negative_de_invoice_against_schematron_2
588
end
589
assert_equal [], errors
590
591
+
592
+ def test_invoice_object_extensions
593
+ invoice = make_de_invoice
594
+ xml = invoice.to_xml(version: 2)
595
596
+ assert_match(/<ram:PaymentReference>#{invoice.payment_reference}<\/ram:PaymentReference>/, xml)
597
+ end
598
599
0 commit comments