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

Ruby 3 Spec: Wrong number of arguments (233) #54796

Closed
Tracked by #54484
ericboehs opened this issue Mar 8, 2023 · 0 comments
Closed
Tracked by #54484

Ruby 3 Spec: Wrong number of arguments (233) #54796

ericboehs opened this issue Mar 8, 2023 · 0 comments
Assignees

Comments

@ericboehs
Copy link
Contributor

ericboehs commented Mar 8, 2023

These specs are failing on the ruby-3-0 branch:

To fix the following - department-of-veterans-affairs/vets-api#12086

  • rspec "./modules/check_in/spec/request/v1/sessions_request_spec.rb[1:2:1]" # L15
  • rspec "./modules/check_in/spec/request/patient_check_ins_request_spec.rb[1:2:1]" # L15
  • rspec "./modules/check_in/spec/request/v2/patient_check_ins_request_spec.rb[1:2:2:1]" # L257
  • rspec "./modules/check_in/spec/request/v2/patient_check_ins_request_spec.rb[1:2:1:1]" # L209
  • rspec "./modules/check_in/spec/request/v2/patient_check_ins_request_spec.rb[1:2:3:1]" # L300
  • rspec "./modules/check_in/spec/request/v2/patient_check_ins_request_spec.rb[1:1:2:1]" # L176
  • rspec "./modules/check_in/spec/request/v1/patient_check_ins_request_spec.rb[1:1:1]" # L7
  • rspec "./modules/check_in/spec/request/v2/demographics_request_spec.rb[1:1:4:1]" # L158
  • rspec "./modules/check_in/spec/request/v2/demographics_request_spec.rb[1:1:2:1]" # L58
  • rspec "./modules/check_in/spec/request/v2/demographics_request_spec.rb[1:1:3:1]" # L99

To fix the following - department-of-veterans-affairs/vets-api#12084

  • rspec "./modules/check_in/spec/request/v0/travel_claims_request_spec.rb[1:1:3:1:1]" # L86
  • rspec "./modules/check_in/spec/request/v0/travel_claims_request_spec.rb[1:1:3:4:1]" # L158
  • rspec "./modules/check_in/spec/request/v0/travel_claims_request_spec.rb[1:1:3:6:1]" # L206
  • rspec "./modules/check_in/spec/request/v0/travel_claims_request_spec.rb[1:1:3:5:1]" # L182
  • rspec "./modules/check_in/spec/request/v0/travel_claims_request_spec.rb[1:1:3:2:1]" # L110
  • rspec "./modules/check_in/spec/request/v0/travel_claims_request_spec.rb[1:1:3:3:1]" # L134

To fix the following - department-of-veterans-affairs/vets-api#12082

  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/supplemental_claim/v2/structure_spec.rb[1:2:1]" # L21
  • rspec "./modules/appeals_api/spec/workers/higher_level_review_upload_status_updater_spec.rb[1:2:2]" # L38
  • rspec "./modules/appeals_api/spec/serializers/evidence_submission_serializer_spec.rb[1:7:3]" # L58
  • rspec "./modules/appeals_api/spec/serializers/evidence_submission_serializer_spec.rb[1:7:1]" # L50
  • rspec "./modules/appeals_api/spec/serializers/evidence_submission_serializer_spec.rb[1:7:2]" # L54
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/supplemental_claim/v3/structure_spec.rb[1:2:1]" # L21
  • rspec "./modules/appeals_api/spec/mailers/decision_review_mailer_spec.rb[1:1:4]" # L47
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:3:1:1:1]" # L124
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:3:1:3:1]" # L148
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:3:1:2:1]" # L136
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:3:1:5:1]" # L185
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:3:1:4:2]" # L168
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:3:1:4:1]" # L158
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:4:2:1]" # L230
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:4:2:4:1]" # L276
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:4:2:5:1]" # L308
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:4:2:3:1]" # L267
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:4:2:2:1]" # L248
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:4:1:1]" # L230
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:4:1:4:1]" # L276
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:4:1:2:1]" # L248
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:4:1:3:1]" # L267
  • rspec "./modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb[1:1:4:1:5:1]" # L308
  • rspec "./modules/appeals_api/spec/lib/decision_review_report_spec.rb[1:13:2:2:1]" # L306
  • rspec "./modules/appeals_api/spec/lib/decision_review_report_spec.rb[1:13:2:2:2]" # L312
  • rspec "./modules/appeals_api/spec/lib/decision_review_report_spec.rb[1:13:1:2:2]" # L252
  • rspec "./modules/appeals_api/spec/lib/decision_review_report_spec.rb[1:13:1:2:1]" # L247
  • rspec "./modules/appeals_api/spec/models/notice_of_disagreement_spec.rb[1:16:1:1:1:1:1]" # L20
  • rspec "./modules/appeals_api/spec/models/notice_of_disagreement_spec.rb[1:16:1:1:2:1:1]" # L40
  • rspec "./modules/appeals_api/spec/models/notice_of_disagreement_spec.rb[1:16:1:1:3:1:1]" # L58
  • rspec "./modules/appeals_api/spec/models/supplemental_claim_spec.rb[1:2:1:2:1:1]" # L40
  • rspec "./modules/appeals_api/spec/models/supplemental_claim_spec.rb[1:2:1:1:1:1]" # L20
  • rspec "./modules/appeals_api/spec/models/supplemental_claim_spec.rb[1:2:3:1]" # L50

To fix the following - department-of-veterans-affairs/vets-api#12074

  • rspec "./modules/check_in/spec/request/v2/sessions_request_spec.rb[1:2:2:1]" # L248
  • rspec "./modules/check_in/spec/request/v2/sessions_request_spec.rb[1:2:3:1]" # L278
  • rspec "./modules/check_in/spec/request/v2/sessions_request_spec.rb[1:2:4:1:1:2]" # L336
  • rspec "./modules/check_in/spec/request/v2/sessions_request_spec.rb[1:2:4:1:1:1]" # L327
  • rspec "./modules/check_in/spec/request/v2/sessions_request_spec.rb[1:2:4:1:2:3]" # L387
  • rspec "./modules/check_in/spec/request/v2/sessions_request_spec.rb[1:2:4:1:2:2]" # L374
  • rspec "./modules/check_in/spec/request/v2/sessions_request_spec.rb[1:2:4:1:2:1]" # L361
  • rspec "./modules/check_in/spec/request/v2/sessions_request_spec.rb[1:2:1:1]" # L227
  • rspec "./modules/check_in/spec/request/v2/sessions_request_spec.rb[1:2:5:2:1]" # L434
  • rspec "./modules/check_in/spec/request/v2/sessions_request_spec.rb[1:2:5:3:1]" # L450
  • rspec "./modules/check_in/spec/request/v2/sessions_request_spec.rb[1:2:5:1:1]" # L418
  • rspec "./modules/check_in/spec/request/v2/sessions_request_spec.rb[1:1:3:1]" # L84

The following tests are passing now and didn't require any changes (fixing something else fixed these):

  • rspec "./modules/vba_documents/spec/workers/slack_notifier_spec.rb[1:5]" # L126
  • rspec "./modules/vba_documents/spec/workers/slack_notifier_spec.rb[1:3:2]" # L78
  • rspec "./modules/vba_documents/spec/workers/slack_notifier_spec.rb[1:3:1]" # L72
  • rspec "./modules/vba_documents/spec/workers/slack_notifier_spec.rb[1:4:1]" # L104
  • rspec "./modules/vba_documents/spec/workers/slack_notifier_spec.rb[1:4:2]" # L110
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:4:1]" # L411
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:4:2]" # L434
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:18]" # L313
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:17]" # L304
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:13]" # L274
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:10]" # L247
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:4]" # L168
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:11]" # L258
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:9]" # L238
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:19]" # L322
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:15]" # L284
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:5]" # L180
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:1]" # L141
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:14]" # L279
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:6]" # L191
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:8]" # L215
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:7]" # L205
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:3]" # L159
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:23]" # L387
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:2]" # L150
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:21]" # L362
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:22]" # L373
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:16]" # L294
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:3:20:1]" # L347
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:1:4]" # L117
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:1:2]" # L107
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:1:5]" # L122
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:1:3]" # L112
  • rspec "./modules/vba_documents/spec/models/upload_submission_spec.rb[1:1:1]" # L95
  • rspec "./modules/appeals_api/spec/models/higher_level_review_spec.rb[1:21:1:1:1:1]" # L20
  • rspec "./modules/appeals_api/spec/models/higher_level_review_spec.rb[1:21:1:2:1:1]" # L40
  • rspec "./modules/appeals_api/spec/models/higher_level_review_spec.rb[1:21:1:3:1:1]" # L58
  • rspec "./modules/vba_documents/spec/models/upload_file_spec.rb[1:1]" # L9
  • rspec "./modules/vba_documents/spec/request/v1/uploads_request_spec.rb[1:2:7]" # L178
  • rspec "./modules/vba_documents/spec/request/v1/uploads_request_spec.rb[1:2:8:1]" # L188
  • rspec "./modules/vba_documents/spec/request/v1/uploads_request_spec.rb[1:2:3:1]" # L85
  • rspec "./modules/vba_documents/spec/request/v1/uploads_request_spec.rb[1:2:3:2]" # L93
  • rspec "./modules/vba_documents/spec/request/v1/uploads_request_spec.rb[1:2:6:2]" # L168
  • rspec "./modules/vba_documents/spec/request/v1/uploads_request_spec.rb[1:2:6:1]" # L155
  • rspec "./modules/vba_documents/spec/request/v1/uploads_request_spec.rb[1:2:4:2]" # L115
  • rspec "./modules/vba_documents/spec/request/v1/uploads_request_spec.rb[1:2:4:1]" # L107
  • rspec "./modules/vba_documents/spec/request/v1/uploads_request_spec.rb[1:2:9:1]" # L197
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:13]" # L266
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:8]" # L253
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:30]" # L428
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:17]" # L303
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:26]" # L387
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:14]" # L266
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:4]" # L182
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:25]" # L387
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:12]" # L253
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:2]" # L141
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:10]" # L253
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:36]" # L490
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:18]" # L314
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:15]" # L281
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:22]" # L366
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:43]" # L620
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:3]" # L157
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:40]" # L564
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:38]" # L512
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:32]" # L449
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:19]" # L327
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:20]" # L340
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:42]" # L593
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:7]" # L242
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:29]" # L419
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:27]" # L387
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:31]" # L439
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:16]" # L292
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:41]" # L577
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:9]" # L253
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:24]" # L387
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:5]" # L203
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:11]" # L253
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:23]" # L376
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:21]" # L353
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:35]" # L482
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:33:1]" # L459
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:39:2]" # L555
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:39:1]" # L548
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:34:1]" # L471
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:28:2]" # L408
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:28:1]" # L408
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:45:1]" # L704
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:45:4]" # L735
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:45:2:1]" # L716
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:45:3:1]" # L728
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:1:1]" # L107
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:44:2]" # L668
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:44:1]" # L651
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:44:3]" # L686
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:37:2]" # L500
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:37:1]" # L500
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:6:1]" # L230
  • rspec "./modules/vba_documents/spec/workers/upload_processor_spec.rb[1:1:6:2]" # L230
  • rspec "./modules/vba_documents/spec/lib/upload_validator_spec.rb[1:1:1]" # L23
  • rspec "./modules/vba_documents/spec/lib/upload_validator_spec.rb[1:1:3]" # L32
  • rspec "./modules/vba_documents/spec/lib/upload_validator_spec.rb[1:1:2]" # L27
  • rspec "./modules/vba_documents/spec/workers/upload_status_updater_spec.rb[1:1:1]" # L17
  • rspec "./modules/vba_documents/spec/request/v1/reports_request_spec.rb[1:1:1:3]" # L39
  • rspec "./modules/vba_documents/spec/request/v1/reports_request_spec.rb[1:1:1:1]" # L16
  • rspec "./modules/vba_documents/spec/request/v1/reports_request_spec.rb[1:1:1:2]" # L27
  • rspec "./modules/vba_documents/spec/request/v1/reports_request_spec.rb[1:1:4:1]" # L96
  • rspec "./modules/vba_documents/spec/workers/upload_status_batch_spec.rb[1:1:1]" # L17
  • rspec "./modules/vba_documents/spec/lib/console_utilities_spec.rb[1:1:3]" # L33
  • rspec "./modules/vba_documents/spec/lib/console_utilities_spec.rb[1:1:2]" # L22
  • rspec "./modules/vba_documents/spec/lib/console_utilities_spec.rb[1:1:1]" # L11
  • rspec "./modules/vba_documents/spec/lib/console_utilities_spec.rb[1:1:4]" # L43
  • rspec "./modules/vba_documents/spec/request/v2/reports_request_spec.rb[1:1:4:1]" # L88
  • rspec "./modules/vba_documents/spec/request/v2/reports_request_spec.rb[1:1:1:1]" # L20
  • rspec "./modules/vba_documents/spec/request/v2/reports_request_spec.rb[1:1:1:2]" # L31
  • rspec "./modules/vba_documents/spec/workers/run_unsuccessful_submissions_spec.rb[1:1:1]" # L12
  • rspec "./modules/vba_documents/spec/request/v2/uploads_request_spec.rb[1:2:7]" # L246
  • rspec "./modules/vba_documents/spec/request/v2/uploads_request_spec.rb[1:2:9:1]" # L265
  • rspec "./modules/vba_documents/spec/request/v2/uploads_request_spec.rb[1:2:4:2]" # L183
  • rspec "./modules/vba_documents/spec/request/v2/uploads_request_spec.rb[1:2:4:1]" # L175
  • rspec "./modules/vba_documents/spec/request/v2/uploads_request_spec.rb[1:2:3:1]" # L153
  • rspec "./modules/vba_documents/spec/request/v2/uploads_request_spec.rb[1:2:3:2]" # L161
  • rspec "./modules/vba_documents/spec/request/v2/uploads_request_spec.rb[1:2:8:1]" # L256
  • rspec "./modules/vba_documents/spec/request/v2/uploads_request_spec.rb[1:2:6:1]" # L223
  • rspec "./modules/vba_documents/spec/request/v2/uploads_request_spec.rb[1:2:6:2]" # L236
  • rspec "./modules/vba_documents/spec/workers/upload_remover_spec.rb[1:1:4:1]" # L69
  • rspec "./modules/vba_documents/spec/workers/upload_remover_spec.rb[1:1:1:1]" # L21
  • rspec "./modules/vba_documents/spec/workers/upload_remover_spec.rb[1:1:1:2]" # L28
  • rspec "./modules/vba_documents/spec/workers/upload_remover_spec.rb[1:1:3:1]" # L52
  • rspec "./modules/vba_documents/spec/workers/upload_remover_spec.rb[1:1:2:1]" # L41
  • rspec "./modules/vba_documents/spec/serializers/upload_serializer_spec.rb[1:1]" # L9
  • rspec "./modules/claims_api/spec/workers/ews_updater_spec.rb[1:2:1]" # L43
  • rspec "./modules/claims_api/spec/lib/claims_api/evidence_waiver_pdf_constructor/pdf_spec.rb[1:1:1]" # L24
  • rspec "./modules/claims_api/spec/requests/v2/veterans/claims_request_spec.rb[1:1:1:7:1:1]" # L364
  • rspec "./modules/claims_api/spec/lib/claims_api/local_bgs_spec.rb[1:1:2]" # L26
  • rspec "./modules/claims_api/spec/models/veteran/service/user_spec.rb[1:1:3]" # L38
  • rspec "./modules/claims_api/spec/models/veteran/service/user_spec.rb[1:1:2]" # L28
  • rspec "./modules/claims_api/spec/models/veteran/service/user_spec.rb[1:1:4]" # L55
  • rspec "./modules/claims_api/spec/models/veteran/service/user_spec.rb[1:1:1]" # L18
  • rspec "./modules/facilities_api/spec/requests/facilities_api/apidoc_spec.rb[1:2:3:1]" # L65
  • rspec "./modules/facilities_api/spec/requests/facilities_api/apidoc_spec.rb[1:2:4:1]" # L81
  • rspec "./modules/vaos/spec/services/appointment_service_spec.rb[1:3:1:1]" # L121
  • rspec "./modules/vaos/spec/services/middleware/vaos_logging_integration_spec.rb[1:1:3:2:1]" # L144
  • rspec "./modules/vaos/spec/services/middleware/vaos_logging_integration_spec.rb[1:1:3:1:1]" # L98
  • rspec "./modules/vaos/spec/services/middleware/vaos_logging_integration_spec.rb[1:1:2:1]" # L54
  • rspec "./modules/vaos/spec/services/messages_service_spec.rb[1:1:2]" # L21
  • rspec "./modules/health_quest/spec/request/patients_request_spec.rb[1:2:2:1]" # L85
  • rspec "./modules/va_notify/spec/workers/email_job_spec.rb[1:1:1]" # L20
  • rspec "./modules/va_notify/spec/workers/icn_job_spec.rb[1:1:1]" # L20
  • rspec "./modules/veteran/spec/models/veteran/user_spec.rb[1:1:3]" # L29
  • rspec "./modules/veteran/spec/models/veteran/user_spec.rb[1:1:1]" # L9
  • rspec "./modules/veteran/spec/models/veteran/user_spec.rb[1:1:2]" # L19
  • rspec "./modules/covid_vaccine/spec/jobs/covid_vaccine/registration_email_job_spec.rb[1:1:5]" # L59
  • rspec "./modules/mobile/spec/workers/vet360_linking_spec.rb[1:2:1]" # L35
  • rspec "./modules/covid_vaccine/spec/jobs/covid_vaccine/scheduled_batch_job_spec.rb[1:2:1:2:1]" # L60

These specs are failing on the ruby-3-0 branch:

@ericboehs ericboehs changed the title Ruby 3 Spec: Wrong number of arguments Ruby 3 Spec: Wrong number of arguments (233) Mar 8, 2023
ericboehs added a commit to department-of-veterans-affairs/vets-api that referenced this issue Mar 9, 2023
Ruby 2.7 deprecated automatic casting of a hash passed as the last argument of a method to keyword arguments. You must now use actual keyword arguments (`foo(bar: 'baz')` instead of `foo({bar: 'baz'})`) or cast the hash to keyword args using the double splat (`foo(**{bar: 'baz'})`).

In preparation for upgrading to Ruby 3.0, we're implementing the new syntax for Vaos Logging spec.

Pulled from: department-of-veterans-affairs/va.gov-team#54796
@holdenhinkle holdenhinkle self-assigned this Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants