new pdf version adding text field for place and location of death. ha… #58584
GitHub Actions / Test Results
failed
Mar 26, 2024 in 0s
1 fail, 50 skipped, 19 101 pass in 40m 0s
13 files 13 suites 40m 0s ⏱️
19 152 tests 19 101 ✅ 50 💤 1 ❌
19 420 runs 19 369 ✅ 50 💤 1 ❌
Results for commit 6d35058.
Annotations
Check warning on line 0 in ./spec/lib/pdf_fill/forms/va21p530_spec.rb
github-actions / Test Results
PdfFill::Forms::Va21p530#merge_fields merges the right fields (spec.lib.pdf_fill.forms.va21p530_spec) failed
Test Results/rspec9.xml [took 0s]
Raw output
Expected \e[33m"{\"privacyAgreementAccepted\":true,\"vaFileNumber\":\"12345678\",\"veteranSocialSecurityNumber\":{\"first\":\"111\",\"second\":\"22\",\"third\":\"3333\"},\"claimantPhone\":{\"first\":\"212\",\"second\":\"345\",\"third\":\"6789\"},\"claimantEmail\":\"[email protected]\",\"veteranDateOfBirth\":\"2012-06-26\",\"deathDate\":\"2012-06-27\",\"burialDate\":\"2012-06-28\",\"locationOfDeath\":{\"location\":\"vaMedicalCenter\",\"vaMedicalCenter\":{\"facilityName\":\"name of facility\",\"facilityLocation\":\"washington, dc\"},\"other\":\"other\",\"checkbox\":{\"vaMedicalCenter\":true}},\"previousNames\":\"name1 last1, name2 last2\",\"amountGovtContribution\":1,\"amountIncurred\":2,\"officialPosition\":\"officialPosition\",\"govtContributions\":false,\"stateCemetery\":false,\"federalCemetery\":false,\"placeOfRemains\":\"placeOfRemains\",\"benefitsUnclaimedRemains\":false,\"burialAllowance\":false,\"plotAllowance\":false,\"previouslyReceivedAllowance\":false,\"burialCost\":1,\"burialAllowanceRequested\":{\"value\":\"nonService\",\"checkbox\":{\"nonService\":true}},\"toursOfDuty\":[{\"serviceBranch\":\"army1\",\"rank\":\"army1, rank1\",\"serviceNumber\":\"sn1\",\"placeOfEntry\":\"placeOfEntry1\",\"placeOfSeparation\":\"place1\",\"dateRangeStart\":\"2012-06-01\",\"dateRangeEnd\":\"2013-07-01\"},{\"serviceBranch\":\"army2\",\"rank\":\"army2, rank2\",\"serviceNumber\":\"sn2\",\"placeOfEntry\":\"placeOfEntry2\",\"placeOfSeparation\":\"place2\",\"dateRangeStart\":\"2012-06-02\",\"dateRangeEnd\":\"2013-07-02\"},{\"serviceBranch\":\"army3\",\"rank\":\"army3, rank3\",\"serviceNumber\":\"sn3\",\"placeOfEntry\":\"placeOfEntry3\",\"placeOfSeparation\":\"place3\",\"dateRangeStart\":\"2012-06-03\",\"dateRangeEnd\":\"2013-07-03\"}],\"placeOfBirth\":\"earth\",\"claimantFullName\":{\"first\":\"claimant\",\"middle\":\"middle\",\"last\":\"smith\",\"suffix\":\"Sr.\",\"middleInitial\":\"m\"},\"relationship\":{\"type\":\"other\",\"isEntity\":true,\"other\":\"other\",\"checkbox\":{\"other\":true}},\"firmName\":\"firmName\",\"claimantAddress\":{\"city\":\"Baltimore\",\"country\":\"US\",\"postalCode\":{\"firstFive\":\"21231\",\"lastFour\":\"1234\"},\"street\":\"street\",\"street2\":\"street2\",\"state\":\"MD\"},\"veteranFullName\":{\"first\":\"john\",\"middle\":\"middle\",\"last\":\"smith\",\"suffix\":\"Sr.\",\"middleInitial\":\"m\"},\"signature\":\"claimant smith\",\"signatureDate\":\"2016-12-31\",\"veteranSocialSecurityNumber2\":{\"first\":\"111\",\"second\":\"22\",\"third\":\"3333\"},\"placeOfDeath\":\"VA MEDICAL CENTER\",\"firmNameAndAddr\":{\"value\":\"firmName, street, street2, Baltimore, MD, 21231-1234, US\",\"extras_value\":\"firmName\\nstreet\\nstreet2\\nBaltimore, MD, 21231-1234\\nUS\"},\"hasPreviouslyReceivedAllowance\":false,\"noPreviouslyReceivedAllowance\":true,\"hasBurialAllowance\":false,\"noBurialAllowance\":true,\"hasPlotAllowance\":false,\"noPlotAllowance\":true,\"hasBenefitsUnclaimedRemains\":false,\"noBenefitsUnclaimedRemains\":true,\"hasFederalCemetery\":false,\"noFederalCemetery\":true,\"hasStateCemetery\":false,\"noStateCemetery\":true,\"hasGovtContributions\":false,\"noGovtContributions\":true}"\e[0m to eq \e[35m"{\"privacyAgreementAccepted\":true,\"vaFileNumber\":\"12345678\",\"veteranSocialSecurityNumber\":{\"first\":\"111\",\"second\":\"22\",\"third\":\"3333\"},\"claimantPhone\":{\"first\":\"212\",\"second\":\"345\",\"third\":\"6789\"},\"claimantEmail\":\"[email protected]\",\"veteranDateOfBirth\":\"2012-06-26\",\"deathDate\":\"2012-06-27\",\"burialDate\":\"2012-06-28\",\"locationOfDeath\":{\"location\":\"vaMedicalCenter\",\"other\":\"other\",\"checkbox\":{\"vaMedicalCenter\":true}},\"previousNames\":\"name1 last1, name2 last2\",\"amountGovtContribution\":1,\"amountIncurred\":2,\"officialPosition\":\"officialPosition\",\"govtContributions\":false,\"stateCemetery\":false,\"federalCemetery\":false,\"placeOfRemains\":\"placeOfRemains\",\"benefitsUnclaimedRemains\":false,\"burialAllowance\":false,\"plotAllowance\":false,\"previouslyReceivedAllowance\":false,\"burialCost\":1,\"burialAllowanceRequested\":{\"value\":\"nonService\",\"checkbox\":{\"nonService\":true}},\"toursOfDuty\":[{\"serviceBranch\":\"army1\",\"rank\":\"army1, rank1\",\"serviceNumber\":\"sn1\",\"placeOfEntry\":\"placeOfEntry1\",\"placeOfSeparation\":\"place1\",\"dateRangeStart\":\"2012-06-01\",\"dateRangeEnd\":\"2013-07-01\"},{\"serviceBranch\":\"army2\",\"rank\":\"army2, rank2\",\"serviceNumber\":\"sn2\",\"placeOfEntry\":\"placeOfEntry2\",\"placeOfSeparation\":\"place2\",\"dateRangeStart\":\"2012-06-02\",\"dateRangeEnd\":\"2013-07-02\"},{\"serviceBranch\":\"army3\",\"rank\":\"army3, rank3\",\"serviceNumber\":\"sn3\",\"placeOfEntry\":\"placeOfEntry3\",\"placeOfSeparation\":\"place3\",\"dateRangeStart\":\"2012-06-03\",\"dateRangeEnd\":\"2013-07-03\"}],\"placeOfBirth\":\"earth\",\"claimantFullName\":{\"first\":\"claimant\",\"middle\":\"middle\",\"last\":\"smith\",\"suffix\":\"Sr.\",\"middleInitial\":\"m\"},\"relationship\":{\"type\":\"other\",\"isEntity\":true,\"other\":\"other\",\"checkbox\":{\"other\":true}},\"firmName\":\"firmName\",\"claimantAddress\":{\"city\":\"Baltimore\",\"country\":\"US\",\"postalCode\":{\"firstFive\":\"21231\",\"lastFour\":\"1234\"},\"street\":\"street\",\"street2\":\"street2\",\"state\":\"MD\"},\"veteranFullName\":{\"first\":\"john\",\"middle\":\"middle\",\"last\":\"smith\",\"suffix\":\"Sr.\",\"middleInitial\":\"m\"},\"signature\":\"claimant smith\",\"signatureDate\":\"2016-12-31\",\"veteranSocialSecurityNumber2\":{\"first\":\"111\",\"second\":\"22\",\"third\":\"3333\"},\"placeOfDeath\":\"VA MEDICAL CENTER\",\"firmNameAndAddr\":{\"value\":\"firmName, street, street2, Baltimore, MD, 21231-1234, US\",\"extras_value\":\"firmName\\nstreet\\nstreet2\\nBaltimore, MD, 21231-1234\\nUS\"},\"hasPreviouslyReceivedAllowance\":false,\"noPreviouslyReceivedAllowance\":true,\"hasBurialAllowance\":false,\"noBurialAllowance\":true,\"hasPlotAllowance\":false,\"noPlotAllowance\":true,\"hasBenefitsUnclaimedRemains\":false,\"noBenefitsUnclaimedRemains\":true,\"hasFederalCemetery\":false,\"noFederalCemetery\":true,\"hasStateCemetery\":false,\"noStateCemetery\":true,\"hasGovtContributions\":false,\"noGovtContributions\":true}"\e[0m
\e[1mFailure/Error: \e[0m
expect(described_class.new(get_fixture('pdf_fill/21P-530/kitchen_sink')).merge_fields.to_json).to eq(
get_fixture('pdf_fill/21P-530/merge_fields').to_json
)
Expected \e[33m"{\"privacyAgreementAccepted\":true,\"vaFileNumber\":\"12345678\",\"veteranSocialSecurityNumber\":{\"first\":\"111\",\"second\":\"22\",\"third\":\"3333\"},\"claimantPhone\":{\"first\":\"212\",\"second\":\"345\",\"third\":\"6789\"},\"claimantEmail\":\"[email protected]\",\"veteranDateOfBirth\":\"2012-06-26\",\"deathDate\":\"2012-06-27\",\"burialDate\":\"2012-06-28\",\"locationOfDeath\":{\"location\":\"vaMedicalCenter\",\"vaMedicalCenter\":{\"facilityName\":\"name of facility\",\"facilityLocation\":\"washington, dc\"},\"other\":\"other\",\"checkbox\":{\"vaMedicalCenter\":true}},\"previousNames\":\"name1 last1, name2 last2\",\"amountGovtContribution\":1,\"amountIncurred\":2,\"officialPosition\":\"officialPosition\",\"govtContributions\":false,\"stateCemetery\":false,\"federalCemetery\":false,\"placeOfRemains\":\"placeOfRemains\",\"benefitsUnclaimedRemains\":false,\"burialAllowance\":false,\"plotAllowance\":false,\"previouslyReceivedAllowance\":false,\"burialCost\":1,\"burialAllowanceRequested\":{\"value\":\"nonService\",\"checkbox\":{\"nonService\":true}},\"toursOfDuty\":[{\"serviceBranch\":\"army1\",\"rank\":\"army1, rank1\",\"serviceNumber\":\"sn1\",\"placeOfEntry\":\"placeOfEntry1\",\"placeOfSeparation\":\"place1\",\"dateRangeStart\":\"2012-06-01\",\"dateRangeEnd\":\"2013-07-01\"},{\"serviceBranch\":\"army2\",\"rank\":\"army2, rank2\",\"serviceNumber\":\"sn2\",\"placeOfEntry\":\"placeOfEntry2\",\"placeOfSeparation\":\"place2\",\"dateRangeStart\":\"2012-06-02\",\"dateRangeEnd\":\"2013-07-02\"},{\"serviceBranch\":\"army3\",\"rank\":\"army3, rank3\",\"serviceNumber\":\"sn3\",\"placeOfEntry\":\"placeOfEntry3\",\"placeOfSeparation\":\"place3\",\"dateRangeStart\":\"2012-06-03\",\"dateRangeEnd\":\"2013-07-03\"}],\"placeOfBirth\":\"earth\",\"claimantFullName\":{\"first\":\"claimant\",\"middle\":\"middle\",\"last\":\"smith\",\"suffix\":\"Sr.\",\"middleInitial\":\"m\"},\"relationship\":{\"type\":\"other\",\"isEntity\":true,\"other\":\"other\",\"checkbox\":{\"other\":true}},\"firmName\":\"firmName\",\"claimantAddress\":{\"city\":\"Baltimore\",\"country\":\"US\",\"postalCode\":{\"firstFive\":\"21231\",\"lastFour\":\"1234\"},\"street\":\"street\",\"street2\":\"street2\",\"state\":\"MD\"},\"veteranFullName\":{\"first\":\"john\",\"middle\":\"middle\",\"last\":\"smith\",\"suffix\":\"Sr.\",\"middleInitial\":\"m\"},\"signature\":\"claimant smith\",\"signatureDate\":\"2016-12-31\",\"veteranSocialSecurityNumber2\":{\"first\":\"111\",\"second\":\"22\",\"third\":\"3333\"},\"placeOfDeath\":\"VA MEDICAL CENTER\",\"firmNameAndAddr\":{\"value\":\"firmName, street, street2, Baltimore, MD, 21231-1234, US\",\"extras_value\":\"firmName\\nstreet\\nstreet2\\nBaltimore, MD, 21231-1234\\nUS\"},\"hasPreviouslyReceivedAllowance\":false,\"noPreviouslyReceivedAllowance\":true,\"hasBurialAllowance\":false,\"noBurialAllowance\":true,\"hasPlotAllowance\":false,\"noPlotAllowance\":true,\"hasBenefitsUnclaimedRemains\":false,\"noBenefitsUnclaimedRemains\":true,\"hasFederalCemetery\":false,\"noFederalCemetery\":true,\"hasStateCemetery\":false,\"noStateCemetery\":true,\"hasGovtContributions\":false,\"noGovtContributions\":true}"\e[0m
to eq \e[35m"{\"privacyAgreementAccepted\":true,\"vaFileNumber\":\"12345678\",\"veteranSocialSecurityNumber\":{\"first\":\"111\",\"second\":\"22\",\"third\":\"3333\"},\"claimantPhone\":{\"first\":\"212\",\"second\":\"345\",\"third\":\"6789\"},\"claimantEmail\":\"[email protected]\",\"veteranDateOfBirth\":\"2012-06-26\",\"deathDate\":\"2012-06-27\",\"burialDate\":\"2012-06-28\",\"locationOfDeath\":{\"location\":\"vaMedicalCenter\",\"other\":\"other\",\"checkbox\":{\"vaMedicalCenter\":true}},\"previousNames\":\"name1 last1, name2 last2\",\"amountGovtContribution\":1,\"amountIncurred\":2,\"officialPosition\":\"officialPosition\",\"govtContributions\":false,\"stateCemetery\":false,\"federalCemetery\":false,\"placeOfRemains\":\"placeOfRemains\",\"benefitsUnclaimedRemains\":false,\"burialAllowance\":false,\"plotAllowance\":false,\"previouslyReceivedAllowance\":false,\"burialCost\":1,\"burialAllowanceRequested\":{\"value\":\"nonService\",\"checkbox\":{\"nonService\":true}},\"toursOfDuty\":[{\"serviceBranch\":\"army1\",\"rank\":\"army1, rank1\",\"serviceNumber\":\"sn1\",\"placeOfEntry\":\"placeOfEntry1\",\"placeOfSeparation\":\"place1\",\"dateRangeStart\":\"2012-06-01\",\"dateRangeEnd\":\"2013-07-01\"},{\"serviceBranch\":\"army2\",\"rank\":\"army2, rank2\",\"serviceNumber\":\"sn2\",\"placeOfEntry\":\"placeOfEntry2\",\"placeOfSeparation\":\"place2\",\"dateRangeStart\":\"2012-06-02\",\"dateRangeEnd\":\"2013-07-02\"},{\"serviceBranch\":\"army3\",\"rank\":\"army3, rank3\",\"serviceNumber\":\"sn3\",\"placeOfEntry\":\"placeOfEntry3\",\"placeOfSeparation\":\"place3\",\"dateRangeStart\":\"2012-06-03\",\"dateRangeEnd\":\"2013-07-03\"}],\"placeOfBirth\":\"earth\",\"claimantFullName\":{\"first\":\"claimant\",\"middle\":\"middle\",\"last\":\"smith\",\"suffix\":\"Sr.\",\"middleInitial\":\"m\"},\"relationship\":{\"type\":\"other\",\"isEntity\":true,\"other\":\"other\",\"checkbox\":{\"other\":true}},\"firmName\":\"firmName\",\"claimantAddress\":{\"city\":\"Baltimore\",\"country\":\"US\",\"postalCode\":{\"firstFive\":\"21231\",\"lastFour\":\"1234\"},\"street\":\"street\",\"street2\":\"street2\",\"state\":\"MD\"},\"veteranFullName\":{\"first\":\"john\",\"middle\":\"middle\",\"last\":\"smith\",\"suffix\":\"Sr.\",\"middleInitial\":\"m\"},\"signature\":\"claimant smith\",\"signatureDate\":\"2016-12-31\",\"veteranSocialSecurityNumber2\":{\"first\":\"111\",\"second\":\"22\",\"third\":\"3333\"},\"placeOfDeath\":\"VA MEDICAL CENTER\",\"firmNameAndAddr\":{\"value\":\"firmName, street, street2, Baltimore, MD, 21231-1234, US\",\"extras_value\":\"firmName\\nstreet\\nstreet2\\nBaltimore, MD, 21231-1234\\nUS\"},\"hasPreviouslyReceivedAllowance\":false,\"noPreviouslyReceivedAllowance\":true,\"hasBurialAllowance\":false,\"noBurialAllowance\":true,\"hasPlotAllowance\":false,\"noPlotAllowance\":true,\"hasBenefitsUnclaimedRemains\":false,\"noBenefitsUnclaimedRemains\":true,\"hasFederalCemetery\":false,\"noFederalCemetery\":true,\"hasStateCemetery\":false,\"noStateCemetery\":true,\"hasGovtContributions\":false,\"noGovtContributions\":true}"\e[0m
/usr/local/bundle/gems/super_diff-0.11.0/lib/super_diff/rspec/monkey_patches.rb:43:in `handle_failure'
./spec/lib/pdf_fill/forms/va21p530_spec.rb:207:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.23.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./spec/spec_helper.rb:168:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Loading