Skip to content

Commit cf758ca

Browse files
change form mapping name for 0803 (#25687)
* change form mapping name for 0803 * lint fix
1 parent ac00e74 commit cf758ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
applicantFullName: [identity_information, full_name]
1+
applicantName: [identity_information, full_name]
22
dateOfBirth: [identity_information, date_of_birth]
33
ssn: [identity_information, ssn]
44
vaFileNumber: [va_file_number]

spec/models/form_profiles/va0803_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
it 'prefills form data' do
2727
VCR.use_cassette('lighthouse/direct_deposit/show/200_valid_new_icn') do
2828
data = profile.prefill
29-
expect(data[:form_data]['applicantFullName']).to eq({ 'first' => 'Abraham',
30-
'last' => 'Lincoln' })
29+
expect(data[:form_data]['applicantName']).to eq({ 'first' => 'Abraham',
30+
'last' => 'Lincoln' })
3131
expect(data[:form_data]['ssn']).to eq('796111863')
3232
expect(data[:form_data]['vaFileNumber']).to eq('796043735')
3333
end

0 commit comments

Comments
 (0)