Skip to content

Commit

Permalink
CAPT-1711: Payroll file alias for EY policy payments (#3503)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorek authored Jan 13, 2025
1 parent 55ce668 commit b63804d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/policies/early_years_payments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,9 @@ def task_available?(task)
def require_in_progress_update_emails?
false
end

def payroll_file_name
"EYFinancialIncentive"
end
end
end
5 changes: 5 additions & 0 deletions spec/models/policies/early_years_payments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,9 @@
expect(described_class.decision_deadline_date(claim)).to eql((claim.eligibility.start_date + 6.months).to_date)
end
end

describe ".payroll_file_name" do
subject(:payroll_file_name) { described_class.payroll_file_name }
it { is_expected.to eq("EYFinancialIncentive") }
end
end

0 comments on commit b63804d

Please sign in to comment.