Skip to content

Commit

Permalink
fix rebase weirdness take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
spompea-cfa committed Dec 20, 2024
1 parent 08fc7a5 commit 5391dad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/lib/pdf_filler/md_el101_pdf_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
let(:intake) { create(:state_file_md_intake) }
let(:submission) { create :efile_submission, tax_return: nil, data_source: intake }
let(:pdf) { described_class.new(submission) }
let(:expected_signature_date) { DateTime.now.in_time_zone(StateFile::StateInformationService.timezone('md')).strftime("%F") }

describe "#hash_for_pdf" do
let(:file_path) { described_class.new(submission).output_file.path }
Expand Down Expand Up @@ -33,7 +34,7 @@
expect(pdf_fields["ERO firm name"]).to eq "FileYourStateTaxes"
expect(pdf_fields["to enter or generate my PIN"]).to eq "23456"
expect(pdf_fields["Primary signature"]).to eq "Mary Lando"
expect(pdf_fields["Date"]).to eq Date.today.strftime("%F")
expect(pdf_fields["Date"]).to eq expected_signature_date
expect(pdf_fields["Spouses First Name"]).to eq("")
expect(pdf_fields["Spouse MI"]).to eq("")
expect(pdf_fields["Spouses Last Name"]).to eq("")
Expand Down Expand Up @@ -85,7 +86,7 @@
expect(pdf_fields["ERO firm name_2"]).to eq "FileYourStateTaxes"
expect(pdf_fields["to enter or generate my PIN_2"]).to eq "11111"
expect(pdf_fields["Spouses signature"]).to eq "Marty Lando"
expect(pdf_fields["Date_2"]).to eq Date.today.strftime("%F")
expect(pdf_fields["Date_2"]).to eq expected_signature_date
end
end
end
Expand Down

0 comments on commit 5391dad

Please sign in to comment.