Skip to content

Commit

Permalink
updating spec for new indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
erubinst committed Jan 8, 2025
1 parent 31ae864 commit aa8ac71
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@
let(:enrollment_2_subscriber) { FactoryBot.build(:enrolled_member, person: subscriber_person) }

let!(:aqhp_tax_household_1) { FactoryBot.create(:tax_household, is_aqhp: true) }
let!(:uqhp_tax_household_1) { FactoryBot.create(:tax_household, is_aqhp: false) }
let!(:uqhp_tax_household_1) { FactoryBot.create(:tax_household) }

let!(:aqhp_tax_household_member_1) do
FactoryBot.create(:tax_household_member, tax_household: aqhp_tax_household_1, person: subscriber_person,
Expand Down Expand Up @@ -560,17 +560,20 @@

let!(:aqhp_enrollment_tax_household_1) do
FactoryBot.create(:enrollments_tax_households, enrollment_id: enrollment_npt_eom.id,
tax_household_id: aqhp_tax_household_1.id)
tax_household_id: aqhp_tax_household_1.id,
applied_aptc: Money.new(100.0))
end

let!(:aqhp_enrollment_tax_household_2) do
FactoryBot.create(:enrollments_tax_households, enrollment_id: enrollment_npt_mid_month.id,
tax_household_id: aqhp_tax_household_1.id)
tax_household_id: aqhp_tax_household_1.id,
applied_aptc: Money.new(100.0))
end

let!(:uqhp_enrollment_tax_household_1) do
FactoryBot.create(:enrollments_tax_households, enrollment_id: enrollment_npt_mid_month_uqhp.id,
tax_household_id: uqhp_tax_household_1.id)
tax_household_id: uqhp_tax_household_1.id,
applied_aptc: Money.new(0.0))
end

it "should return success on eom npt policies" do
Expand Down

0 comments on commit aa8ac71

Please sign in to comment.