Skip to content

Commit

Permalink
rm provider_verification_chase_email_last_sent_at
Browse files Browse the repository at this point in the history
  • Loading branch information
asmega committed Jan 29, 2025
1 parent 93389f6 commit 17ec29e
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@

it "does not send a chaser" do
expect(claim_with_no_provider_email_sent.eligibility.reload.provider_verification_email_last_sent_at).to be_nil
expect(claim_with_no_provider_email_sent.eligibility.reload.provider_verification_chase_email_last_sent_at).to be_nil

expect(ClaimMailer).to(
have_received(:further_education_payment_provider_verification_chase_email)
Expand Down Expand Up @@ -104,7 +103,7 @@
end

it "does not send a chaser" do
expect(claim_with_provider_email_sent_less_than_2_weeks_ago.eligibility.reload.provider_verification_chase_email_last_sent_at).to be_nil
expect(claim_with_provider_email_sent_less_than_2_weeks_ago.eligibility.reload.provider_verification_email_last_sent_at).to eq(DateTime.new(2024, 10, 15, 7, 0, 0))

expect(ClaimMailer).to(
have_received(:further_education_payment_provider_verification_chase_email)
Expand Down Expand Up @@ -136,7 +135,7 @@
end

it "does not sent a chaser" do
expect(claim_with_provider_email_sent_over_2_weeks_ago_verified.eligibility.reload.provider_verification_chase_email_last_sent_at).to be_nil
expect(claim_with_provider_email_sent_over_2_weeks_ago_verified.eligibility.reload.provider_verification_email_last_sent_at).to eq(DateTime.new(2024, 10, 8, 7, 0, 0))

expect(ClaimMailer).to(
have_received(:further_education_payment_provider_verification_chase_email)
Expand Down Expand Up @@ -232,7 +231,7 @@
end

it "does not send a chaser email" do
expect(claim_rejected_after_provider_verification_was_sent.eligibility.reload.provider_verification_chase_email_last_sent_at).to be_nil
expect(claim_rejected_after_provider_verification_was_sent.eligibility.reload.provider_verification_email_last_sent_at).to eq(DateTime.new(2024, 10, 8, 7, 0, 0))

expect(ClaimMailer).to(
have_received(:further_education_payment_provider_verification_chase_email)
Expand Down Expand Up @@ -265,7 +264,7 @@
end

it "does not send a chaser email" do
expect(claim_held_after_provider_verification_was_sent.eligibility.reload.provider_verification_chase_email_last_sent_at).to be_nil
expect(claim_held_after_provider_verification_was_sent.eligibility.reload.provider_verification_email_last_sent_at).to eq(DateTime.new(2024, 10, 8, 7, 0, 0))

expect(ClaimMailer).to(
have_received(:further_education_payment_provider_verification_chase_email)
Expand Down

0 comments on commit 17ec29e

Please sign in to comment.