Skip to content

Commit

Permalink
remove some dob from the form spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Proebstel committed Mar 10, 2025
1 parent 0e1af9b commit a99df05
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spec/forms/state_file/md_permanently_disabled_form_spec.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
require "rails_helper"

RSpec.describe StateFile::MdPermanentlyDisabledForm do
let(:intake) { create :state_file_md_intake, primary_birth_date: primary_dob, spouse_birth_date: spouse_dob }
let(:intake) { create :state_file_md_intake }
let(:form) { described_class.new(intake, params) }
let(:primary_dob) { nil }
let(:spouse_dob) { nil }

describe "#valid?" do
shared_examples :is_invalid do |invalid_params|
Expand Down Expand Up @@ -98,8 +96,6 @@
let(:mfj_disability) { "none" }
let(:primary_proof_of_disability_submitted) { nil }
let(:spouse_proof_of_disability_submitted) { nil }
let(:primary_dob) { Date.new((MultiTenantService.statefile.end_of_current_tax_year.year - 64), 1, 1) }
let(:spouse_dob) { Date.new((MultiTenantService.statefile.end_of_current_tax_year.year - 64), 1, 1) }

it "does not require proof of disability" do
expect(form).to be_valid
Expand Down

0 comments on commit a99df05

Please sign in to comment.