Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will/appeals 63607 #23488

Open
wants to merge 155 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 145 commits
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
7633846
APPEALS-36688- Build out Decision Review Created API route & Controll…
buddylove954 Jan 24, 2024
7a2f947
APPEALS-38232 -Build out Decision Review Created Event Failure API ro…
Jruuuu Jan 24, 2024
f9c04d8
Jonathan/appeals 36684 (#20516)
jtsangVA Jan 25, 2024
c91ddf8
added migration, scopes and specs for events (#20707)
buddylove954 Feb 6, 2024
b6bd723
Jr/APPEALS-38926 (#20714)
Jruuuu Feb 8, 2024
51abc5e
Jonathan/appeals 36689 (#20671)
jtsangVA Feb 9, 2024
580f725
Merge branch 'master' into feature/APPEALS-28087-36678
nkutub Feb 16, 2024
cea711f
APPEALS-39663 Create CreateUserOnEvent service class and add logic to…
jtsangVA Feb 20, 2024
f4c32f2
Jr/APPEALS-39664 (#20898)
Jruuuu Feb 23, 2024
bb790ee
Will/appeals 36691 (#20909)
buddylove954 Feb 23, 2024
0a3b620
JR/APPEALS-40954 Create CreateIntake service class and add logic to c…
Jruuuu Feb 28, 2024
fd26a8a
Jonathan/appeals 40950 (#20965)
jtsangVA Mar 6, 2024
c4d1a49
APPEALS-40950 - update var veteran to vbms_veteran (#21050)
Jruuuu Mar 7, 2024
40e6bbb
Create CreateClaimantOnEvent service class and add logic to create cl…
buddylove954 Mar 8, 2024
f6a58fa
APPEALS-41968 Modify Issues Endpoints & Update Metric Service Logic (…
jtsangVA Mar 13, 2024
3efde93
Resolved merge conflicts while merging master into feature/APPEALS-28…
nkutub Mar 15, 2024
a0f439f
Resolved merge conflicts while merging master into feature/APPEALS-28…
nkutub Mar 18, 2024
4577fb9
Jonathan/APPEALS-41957 (#21171)
jtsangVA Mar 19, 2024
8b67337
Jr/appeals 41931 (#21192)
Jruuuu Mar 20, 2024
79cef69
Will/appeals 41929 (#21205)
buddylove954 Mar 21, 2024
7f82f6e
Merge branch 'master' into feature/APPEALS-28087-36678
nkutub Mar 25, 2024
50d1db3
APPEALS-42631- Create Rspec for Parser with sample payload method, an…
Jruuuu Apr 1, 2024
57302b7
APPEALS-41934 (#21251)
jtsangVA Apr 1, 2024
b538a70
added RI parser methods to rspec (#21322)
jtsangVA Apr 2, 2024
260590a
Update DecisionReviewCreated to make all calls and link all intake re…
buddylove954 Apr 5, 2024
565c2ea
APPEALS-43446- Change name of BackfillRecord polymorphic model to Eve…
Jruuuu Apr 15, 2024
63453cf
Jr/ama controller refactor (#21365)
Jruuuu Apr 15, 2024
ff161fd
redo init commit
isaiahsaucedo Apr 16, 2024
e018f1d
updated imp. logic
isaiahsaucedo Apr 16, 2024
62397be
attorney widget fix
calvincostaBAH Apr 17, 2024
884b1c0
Create end to end , happy path rspec's for Decision Created event Fea…
buddylove954 Apr 19, 2024
17b89cc
Jonathan/appeals 43589 (#21397)
jtsangVA Apr 19, 2024
64ed446
Merge branch 'isaiah/APPEALS-43421' of https://github.com/department-…
craigrva Apr 22, 2024
7733c4b
feature/APPEALS-35707-29633-29632 (uat) (#21435)
jcroteau Apr 22, 2024
3827b60
Merge AMA APPEALS-28087-36678 into UAT
nkutub Apr 23, 2024
8143e3f
awillis/APPEALS-45152 (#21506)
Aaron-Willis May 2, 2024
290e80a
APPEALS-44319 (#21449) (#21541)
nkutub May 3, 2024
05777f1
Konstantin/APPEALS-45175 (#21517)
KonstantinShevtsov May 3, 2024
bf220e1
removed filter for non rating request issue dropdown (#21480)
buddylove954 May 3, 2024
9882434
Merge branch 'feature/APPEALS-28087-36678-44115' into feature/APPEALS…
nkutub May 3, 2024
f8dd3c6
Merge remote-tracking branch 'origin/master' into feature/APPEALS-280…
nkutub May 10, 2024
77c14d1
Column added to RequestIssues table (#21578)
buddylove954 May 10, 2024
11cd7c9
added bgs_source to parser, controller and serializer along with spec…
buddylove954 May 13, 2024
99db704
Konstantin/appeals 45180 (#21591)
KonstantinShevtsov May 13, 2024
9148093
Konstantin/appeals 45149 (#21644)
KonstantinShevtsov May 21, 2024
fd49f77
Merge branch 'master' into feature/APPEALS-28087-36678
nkutub May 31, 2024
bf0b13d
APPEALS-45883 - Remove End Product Establishment records within the E…
Jruuuu Jun 3, 2024
578a25a
removed eventing from create claim review (#21718)
buddylove954 Jun 3, 2024
0ffb23b
Nrithner/appeals 45913 (#21716)
nicorithner-bah Jun 7, 2024
4cfffed
APPEALS - 45914 & 45915 (#21744)
kshiflett88 Jun 7, 2024
78e47ec
Added db seed and testing (#21284)
kshiflett88 Jun 7, 2024
39bf8b1
re-merge Cmartine/appeals 46861 (#21855)
nkutub Jun 7, 2024
9ebba7f
Nrithner/appeals 46860 (#21856)
nkutub Jun 7, 2024
87e2e46
Jonathan/appeals 45899/45878 (#21714)
jtsangVA Jun 10, 2024
4d40d05
Konstantin/appeals 46175 (#21768)
KonstantinShevtsov Jun 10, 2024
04282c8
Edit Issues screen update (#21907)
jtsangVA Jun 14, 2024
6fbfd20
cmartine/APPEALS-46905 (#21884)
Chris-Martine Jun 21, 2024
39a087f
Update process_nonrating to process_nonrationg_issue_category
nicorithner-bah Jun 28, 2024
1205dff
Update rspec. Remove unused example
nicorithner-bah Jun 28, 2024
12b33f1
Change edited_by_css_id to return users css_id
Chris-Martine Jul 1, 2024
2099b27
Merge branch 'master' into feature/APPEALS-28087-36678
mattray-gov Jul 1, 2024
66cf311
Konstantin/appeals 48306 (#21998)
KonstantinShevtsov Jul 1, 2024
2e480f6
Merge branch 'feature/APPEALS-28087-36678' of https://github.com/depa…
Chris-Martine Jul 2, 2024
9f8f0ef
Merge branch 'feature/APPEALS-28087-36678' into nrithner/APPEALS-49245
nicorithner-bah Jul 8, 2024
b01f056
930 code updates
kshiflett88 Jul 9, 2024
0ed7092
remove byebug
kshiflett88 Jul 9, 2024
6775316
fix merge conflict with AMA
nkutub Jul 12, 2024
344ad6e
Merge branch 'feature/APPEALS-28087-36678' into cmartine/APPEALS-49863
mattray-gov Jul 12, 2024
b74627f
Change edited_by_css_id to return users css_id (#22062)
Chris-Martine Jul 12, 2024
db7a594
Merge branch 'feature/APPEALS-28087-36678' into nrithner/APPEALS-49245
mattray-gov Jul 12, 2024
a837dd1
Nrithner/appeals 49245 (#22107)
nicorithner-bah Jul 12, 2024
ad953c2
Merge branch 'feature/APPEALS-28087-36678' into kshiflett/APPEALS-48965
mattray-gov Jul 12, 2024
3be9adf
Resolved merge conflicts while merging master into feature/APPEALS-28…
nkutub Jul 15, 2024
bf3001e
fix extra commas from merge
nkutub Jul 16, 2024
06ec3ad
APPEALS-51223: Disable ClaimantValidator for DecisionReviewCreatedEve…
Jruuuu Jul 16, 2024
550a0df
Jonathan/appeals 51926 (#22215)
jtsangVA Jul 18, 2024
18af3ea
merge nrithner/APPEALS-49245
nkutub Jul 19, 2024
bf1927d
Merge remote-tracking branch 'origin/kshiflett/APPEALS-48965' into fe…
nkutub Jul 19, 2024
0db023f
Merge remote-tracking branch 'origin/cmartine/APPEALS-49863' into fea…
nkutub Jul 19, 2024
e87e141
code climate spec fix (#22211)
buddylove954 Jul 22, 2024
b28fb17
Merge branch 'master' into feature/APPEALS-28087-36678
nkutub Jul 26, 2024
0439702
Merge branch 'master' into feature/APPEALS-28087-36678
nkutub Aug 2, 2024
57b6f0b
Konstantin/appeals 52321 (#22363)
KonstantinShevtsov Aug 6, 2024
7e3426e
Appeals 52317 (#22321)
buddylove954 Aug 9, 2024
d7df63a
fixed logic for AMA issues API serializer attributes (#22358)
jtsangVA Aug 12, 2024
e7c97de
Merge branch 'master' into feature/APPEALS-28087-36678
nkutub Aug 13, 2024
56b3d09
Merge branch 'master' into feature/APPEALS-28087-36678
nkutub Aug 22, 2024
c220984
Konstantin/appeals 52318 (#22528)
KonstantinShevtsov Aug 26, 2024
e251441
Bug Fix for APPEALS-44115 (#22538)
buddylove954 Aug 29, 2024
7b94448
APPEALS-53923 (#22727)
jtsangVA Sep 6, 2024
9507897
merge master
nkutub Sep 6, 2024
21bc269
Konstantin/appeals 52982 (#22715)
KonstantinShevtsov Sep 9, 2024
bf435b4
Create Audit Tables for SC, HLR, Request Issues Appeals 55403 (#22689)
buddylove954 Sep 10, 2024
ca3bc5c
fix merge conflic in seeds.rb
nkutub Sep 12, 2024
bd8cc81
Merge branch 'master' into feature/APPEALS-28087-36678
nkutub Sep 12, 2024
2704366
remove cusoner seed files
nkutub Sep 12, 2024
64065e5
Konstantin/appeals 57291 (#22853)
KonstantinShevtsov Sep 17, 2024
59dddbc
Konstantin/appeals 57283 (#22851)
KonstantinShevtsov Sep 17, 2024
21296e7
APPEALS-55402 (#22768)
jtsangVA Sep 17, 2024
85b2407
Konstantin/appeals 57279 (#22859)
KonstantinShevtsov Sep 19, 2024
8423ccc
Jonathan/appeals 58619 (#22875)
jtsangVA Sep 19, 2024
82f03ac
Process newly added fields passed for DecissionReviewUpdated (#22876)
buddylove954 Sep 20, 2024
88e146a
Refactor Created Events Logic to Handle Contested Issues (#22852)
buddylove954 Sep 20, 2024
9e99887
issue parser applied (#22904)
KonstantinShevtsov Sep 23, 2024
f983a53
renamed epe to singular method call (#22914)
buddylove954 Sep 23, 2024
adc5648
Merge remote-tracking branch 'origin/master' into feature/APPEALS-49670
nkutub Sep 23, 2024
b037c59
Merge branch 'main' into feature/APPEALS-49670
nkutub Sep 23, 2024
09af622
Edit DecisionReviewUpdatedController dru_params (#22939)
Chris-Martine Sep 24, 2024
4d6af23
API fix + epe feature test (#22956)
jtsangVA Sep 25, 2024
fd0efc0
Feature/appeals 59173 (#22995)
nkutub Sep 27, 2024
994a815
bug fixes for error logs, audits, claim id (#23015)
nkutub Sep 30, 2024
ad05091
add reference id to AMA API (#23022)
nkutub Sep 30, 2024
3b9bd4b
Konstantin/appeals 58609 (#22970)
KonstantinShevtsov Sep 30, 2024
ce4f9f6
Konstantin/withdrawn issues feature test (#23028)
KonstantinShevtsov Oct 1, 2024
a3a2c02
fix ama api and closed rspec
nkutub Oct 1, 2024
20498fb
remove byebug and fix closed statu rspec
nkutub Oct 1, 2024
0a61c06
Jonathan/appeals 59166 (#22972)
jtsangVA Oct 1, 2024
1cf5244
fix linting issues
nkutub Oct 1, 2024
ed30075
fix DRU removed and DRUs for eventing feature, added feature tests an…
nkutub Oct 2, 2024
381a3b5
disable DRU audit (#23064)
nkutub Oct 3, 2024
d6588ed
Nader/audit sync fix (#23079)
nkutub Oct 4, 2024
036520b
Konstantin/appeals 59181 (#22992)
KonstantinShevtsov Oct 4, 2024
3cf76d8
add last sync to RIU's, update contention updated and remoted at , ac…
nkutub Oct 4, 2024
7b1d7c6
fix epe's getting created and error on missing ineligible_due_to (#23…
nkutub Oct 6, 2024
25b0668
Merge branch 'main' into feature/APPEALS-49670
nkutub Oct 6, 2024
2e3fbbb
update contention text fix for eligibility changes
nkutub Oct 7, 2024
851849c
fix the unidentified_text and contention_refference_id (#23119)
nkutub Oct 8, 2024
89dbe78
Merge branch 'main' into feature/APPEALS-49670
nkutub Oct 8, 2024
0c1e726
Jonathan/dru eventrecord dupe fix (#23162)
jtsangVA Oct 10, 2024
2d3fe8a
Nader/cont ref id unid issu txt fix (#23164)
nkutub Oct 10, 2024
e0b58fe
refactor update logic to not depend on RequestIssuesUpdate (#23187)
nkutub Oct 11, 2024
c2bb786
Konstantin/prevent check for before ama! (#23180)
KonstantinShevtsov Oct 12, 2024
c95ae33
fix the remove of issues created from vbms, add before audit, all fie…
nkutub Oct 12, 2024
4c93142
fix verify_contentions
nkutub Oct 12, 2024
b6bd6f9
Merge branch 'main' into feature/APPEALS-49670
nkutub Oct 14, 2024
63758f2
remove _ext_ table from schema
nkutub Oct 14, 2024
7f2fd96
add saftey operator for missing request_issues_update
nkutub Oct 14, 2024
c9cd5a9
fix optin check to pull from parser not review
nkutub Oct 14, 2024
904b578
added unit tests and started on feature test wip
buddylove954 Nov 8, 2024
fdb9488
merged in main
buddylove954 Nov 8, 2024
34fcef8
wip
buddylove954 Nov 13, 2024
d83be11
removed debug calls
buddylove954 Nov 13, 2024
e3f51af
fixed unit tests, commented out feature test(wip)
buddylove954 Nov 13, 2024
62d2f5b
remove gemfile changes
buddylove954 Nov 13, 2024
866bd71
revert lock file
buddylove954 Nov 13, 2024
58d05dd
feature test done but still showing 500 error
buddylove954 Nov 13, 2024
d5b5400
removed debugging
buddylove954 Nov 13, 2024
cabe3b7
removed comments
buddylove954 Nov 13, 2024
813caa8
code climate fixes
buddylove954 Nov 14, 2024
7c09fa5
more code climate fixes
buddylove954 Nov 14, 2024
f2217f3
Merge branch 'main' into will/APPEALS-63607
buddylove954 Nov 14, 2024
ca66a9f
removed comments
buddylove954 Nov 14, 2024
72e3f8c
removed valid parser
buddylove954 Nov 14, 2024
411eae8
code climate skip
buddylove954 Nov 14, 2024
6b3d977
reove abcsize check
buddylove954 Nov 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/models/request_issues_update_event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ def update_request_issue!(request_issue, parser_issue)
untimely_exemption: parser_issue.ri_untimely_exemption,
untimely_exemption_notes: parser_issue.ri_untimely_exemption_notes,
benefit_type: parser_issue.ri_benefit_type,
veteran_participant_id: parser_issue.ri_veteran_participant_id
veteran_participant_id: parser_issue.ri_veteran_participant_id,
end_product_establishment_id: @epe&.id || request_issue.end_product_establishment_id
)
end
# rubocop:enable Metrics/MethodLength
Expand Down
30 changes: 30 additions & 0 deletions spec/feature/intake/higher_level_review/edit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,36 @@
end
end

# it "verifies we can return to the edit page when we have an ineligible issue along with past decisions" do
# # Step 2: Visit the higher-level review edit page
# visit "higher_level_reviews/#{ep_claim_id}/edit"

# # Step 3: Verify that the correct number of issues (8) are listed on the page
# number_of_issues = 8
# expect(page).to have_content("#{number_of_issues} issues")

# # Step 4: Click the "add issue" button to trigger the action of adding an issue
# ri_legacy_issue_not_withdrawn_num = find_intake_issue_number_by_text(
# ri_legacy_issue_not_withdrawn.contention_text
# )
# expect_ineligible_issue(ri_legacy_issue_not_withdrawn_num)
# click_intake_add_issue
# click_intake_no_matching_issues
# add_intake_nonrating_issue(
# category: "Active Duty Adjustments",
# description: untimely_request_issue.contention_text,
# date: "06/20/2021",
# legacy_issues: true
# )
# select_intake_no_match
# add_untimely_exemption_response("No")
# click_button "Save"

# expect_ineligible_issue(number_of_issues + 1)
# visit "higher_level_reviews/#{ep_claim_id}/edit"
# expect(page).to have_content("#{number_of_issues + 1} issues")
# end

it "re-applies eligibility check on remove/re-add of ineligible issue" do
visit "higher_level_reviews/#{ep_claim_id}/edit"

Expand Down
130 changes: 130 additions & 0 deletions spec/models/request_issues_update_event_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
allow(parser).to receive(:ineligible_to_ineligible_issues).and_return([])
allow(parser).to receive(:end_product_establishment_last_synced_at).and_return(last_synced_at)
allow(parser).to receive(:end_product_establishment_code).and_return("some_end_product_code")
allow(parser).to receive(:end_product_establishment_reference_id).and_return(EndProductEstablishment.last.reference_id)
allow(parser).to receive(:veteran_participant_id).and_return("some_participant_id")
end
end
Expand Down Expand Up @@ -63,6 +64,41 @@
end
end

let(:valid_parser_issue) do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the point of this ? we already have let(:parser_issue)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we were missing some data points and I didn't want to modify the parser_issue

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update the original parse to include the missing items , there is no need to create another one

instance_double(Events::DecisionReviewUpdated::DecisionReviewUpdatedIssueParser).tap do |issue|
allow(issue).to receive(:ri_reference_id).and_return("some_reference_id")
allow(issue).to receive(:ri_original_caseflow_request_issue_id).and_return(nil)
allow(issue).to receive(:ri_benefit_type).and_return("some_benefit_type")
allow(issue).to receive(:ri_closed_at).and_return(last_synced_at)
allow(issue).to receive(:ri_closed_status).and_return(:ineligible)
allow(issue).to receive(:ri_contested_issue_description).and_return("some_description")
allow(issue).to receive(:ri_contention_reference_id).and_return(26)
allow(issue).to receive(:ri_contested_rating_issue_diagnostic_code).and_return("some_diagnostic_code")
allow(issue).to receive(:ri_contested_rating_decision_reference_id).and_return("some_decision_id")
allow(issue).to receive(:ri_contested_rating_issue_profile_date).and_return(Time.zone.today)
allow(issue).to receive(:ri_contested_rating_issue_reference_id).and_return("some_issue_id")
allow(issue).to receive(:ri_contested_decision_issue_id).and_return(nil)
allow(issue).to receive(:ri_decision_date).and_return(Time.zone.today)
allow(issue).to receive(:ri_ineligible_due_to_id).and_return(RequestIssue.first.id)
allow(issue).to receive(:ri_ineligible_reason).and_return(:untimely)
allow(issue).to receive(:ri_is_unidentified).and_return(false)
allow(issue).to receive(:ri_unidentified_issue_text).and_return("some_text")
allow(issue).to receive(:ri_nonrating_issue_category).and_return("some_category")
allow(issue).to receive(:ri_nonrating_issue_description).and_return("some_description")
allow(issue).to receive(:ri_nonrating_issue_bgs_id).and_return("some_bgs_id")
allow(issue).to receive(:ri_nonrating_issue_bgs_source).and_return("some_source")
allow(issue).to receive(:ri_ramp_claim_id).and_return("some_claim_id")
allow(issue).to receive(:ri_rating_issue_associated_at).and_return(last_synced_at)
allow(issue).to receive(:ri_untimely_exemption).and_return(false)
allow(issue).to receive(:ri_untimely_exemption_notes).and_return("some_notes")
allow(issue).to receive(:ri_vacols_id).and_return("some_vacols_id")
allow(issue).to receive(:ri_vacols_sequence_id).and_return(453)
allow(issue).to receive(:ri_type).and_return("some_type")
allow(issue).to receive(:ri_edited_description).and_return("Edited description")
allow(issue).to receive(:ri_veteran_participant_id).and_return("some_participant_id")
end
end

let(:issue_payload) do
{
decision_review_issue_id: "some_reference_id",
Expand Down Expand Up @@ -353,4 +389,98 @@
expect(subject.processed_at).to eq(parser.end_product_establishment_last_synced_at)
end
end

describe "#update_request_issue!" do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I requested that you add a test to test the assignment of each field on the request issue update...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added that spec

context "when epe is nil" do
it "does not update end_product_establishment_id with epe id" do
request_issue = existing_request_issue
event = described_class.new(
review: review,
user: user,
parser: parser,
event: event,
epe: nil
)
expect(request_issue.end_product_establishment_id).to eq(request_issue.end_product_establishment_id)
event.update_request_issue!(request_issue, valid_parser_issue)

request_issue.reload
expect(request_issue.end_product_establishment_id).to eq(request_issue.end_product_establishment_id)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is testing nothing... you need to check this value before and after the update

end
end

context "when epe is provided" do
it "updates end_product_establishment_id with epe id" do
request_issue = existing_request_issue

event = described_class.new(
review: review,
user: user,
parser: parser,
event: event,
epe: epe
)
expect(request_issue.end_product_establishment_id).not_to eq(epe.id)
event.update_request_issue!(request_issue, valid_parser_issue)

request_issue.reload
expect(request_issue.end_product_establishment_id).to eq(epe.id)
end
end

context "confirm request issue" do
it "is updated with passed in data for all attributes" do
request_issue = existing_request_issue

event = described_class.new(
review: review,
user: user,
parser: parser,
event: event,
epe: epe
)
event.update_request_issue!(request_issue, valid_parser_issue)

request_issue.reload
expect(request_issue.end_product_establishment_id).to eq(epe.id)
expect(request_issue.ineligible_reason).to eq(valid_parser_issue.ri_ineligible_reason.to_s)
expect(request_issue.closed_at).to eq(valid_parser_issue.ri_closed_at.to_s)
expect(request_issue.closed_status).to eq(valid_parser_issue.ri_closed_status.to_s)
expect(request_issue.contested_issue_description).to eq(valid_parser_issue.ri_contested_issue_description.to_s)
expect(request_issue.nonrating_issue_category).to eq(valid_parser_issue.ri_nonrating_issue_category.to_s)
expect(request_issue.nonrating_issue_description).to eq(valid_parser_issue.ri_nonrating_issue_description.to_s)
expect(request_issue.contention_updated_at).to eq(parser.end_product_establishment_last_synced_at.to_s)
expect(request_issue.contention_reference_id).to eq(valid_parser_issue.ri_contention_reference_id)
expect(request_issue.contested_decision_issue_id).to eq(valid_parser_issue.ri_contested_decision_issue_id)
expect(request_issue.contested_rating_issue_reference_id).to eq(
valid_parser_issue.ri_contested_rating_issue_reference_id.to_s
)
expect(request_issue.contested_rating_issue_diagnostic_code).to eq(
valid_parser_issue.ri_contested_rating_issue_diagnostic_code.to_s
)
expect(request_issue.contested_rating_decision_reference_id).to eq(
valid_parser_issue.ri_contested_rating_decision_reference_id.to_s
)
expect(request_issue.contested_rating_issue_profile_date).to eq(
valid_parser_issue.ri_contested_rating_issue_profile_date.to_s
)
expect(request_issue.nonrating_issue_bgs_source).to eq(valid_parser_issue.ri_nonrating_issue_bgs_source.to_s)
expect(request_issue.nonrating_issue_bgs_id).to eq(valid_parser_issue.ri_nonrating_issue_bgs_id.to_s)
expect(request_issue.unidentified_issue_text).to eq(valid_parser_issue.ri_unidentified_issue_text.to_s)
expect(request_issue.vacols_sequence_id).to eq(valid_parser_issue.ri_vacols_sequence_id)
expect(request_issue.ineligible_due_to_id).to eq(valid_parser_issue.ri_ineligible_due_to_id)
expect(request_issue.reference_id).to eq(valid_parser_issue.ri_reference_id)
expect(request_issue.rating_issue_associated_at).to eq(valid_parser_issue.ri_rating_issue_associated_at.to_s)
expect(request_issue.edited_description).to eq(valid_parser_issue.ri_edited_description.to_s)
expect(request_issue.ramp_claim_id).to eq(valid_parser_issue.ri_ramp_claim_id)
expect(request_issue.vacols_id).to eq(valid_parser_issue.ri_vacols_id)
expect(request_issue.decision_date.strftime('%Y-%m-%d')).to eq(valid_parser_issue.ri_decision_date.to_s)
expect(request_issue.is_unidentified).to eq(valid_parser_issue.ri_is_unidentified)
expect(request_issue.untimely_exemption).to eq(valid_parser_issue.ri_untimely_exemption)
expect(request_issue.untimely_exemption_notes).to eq(valid_parser_issue.ri_untimely_exemption_notes.to_s)
expect(request_issue.benefit_type).to eq(valid_parser_issue.ri_benefit_type.to_s)
expect(request_issue.veteran_participant_id).to eq(valid_parser_issue.ri_veteran_participant_id)
end
end
end
end
Loading