Closed joofsh closed 7 years ago
In UAT using hh = Hearing.all.sample.to_hash_with_all_information
this happens for any hearing loaded from the HearingRepository.
cause the AC doesn't have any real usable steps..
GWASIK
)PASSED
Hearing.all.sample.to_hash_with_all_information["appeals"]
leads to:
[{"id"=>10508, "vacols_id"=>"2307020", "vbms_id"=>"228983037S", "rice_compliance"=>false, "private_attorney_or_agent"=>false, "waiver_of_overpayment"=>false, "pension_united_states"=>false, "vamc"=>false, "incarcerated_veterans"=>false, "dic_death_or_accrued_benefits_united_states"=>false, "vocational_rehab"=>false, "foreign_claim_compensation_claims_dual_claims_appeals"=>false, "manlincon_compliance"=>false, "hearing_including_travel_board_video_conference"=>false, "home_loan_guaranty"=>false, "insurance"=>false, "national_cemetery_administration"=>false, "spina_bifida"=>false, "radiation"=>false, "nonrating_issue"=>false, "us_territory_claim_philippines"=>false, "contaminated_water_at_camp_lejeune"=>false, "mustard_gas"=>false, "education_gi_bill_dependents_educational_assistance_scholars"=>false, "foreign_pension_dic_all_other_foreign_countries"=>false, "foreign_pension_dic_mexico_central_and_south_america_caribb"=>false, "us_territory_claim_american_samoa_guam_northern_mariana_isla"=>false, "us_territory_claim_puerto_rico_and_virgin_islands"=>false, "dispatched_to_station"=>nil, "nod_date"=>Tue, 11 May 2010 00:00:00 UTC +00:00, "form9_date"=>Mon, 20 Dec 2010 00:00:00 UTC +00:00, "soc_date"=>Thu, 28 Oct 2010 00:00:00 UTC +00:00, "certification_date"=>Tue, 26 Feb 2013 00:00:00 UTC +00:00, "prior_decision_date"=>nil, "ssoc_dates"=>[]}]
We want to show real data on the hearing worksheet page. In order to do that, we need to update the hearing to_hash method with the correct attributes
Acceptance Criteria
appeals
array to hearing modelto_hash
method. Default to not adding the appeal sub-object.active_appeal_streams
completed in this ticket. Appeal sub-object should have the following attributes: