Skip to content

Commit

Permalink
Change scope for sampled claims to "paid", this will be reverted again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kizr committed Jan 23, 2025
1 parent e5de986 commit c206eae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 84 deletions.
2 changes: 1 addition & 1 deletion app/wizards/claims/upload_sampling_data_wizard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def upload_data
end

def paid_claims
Claims::Claim.paid_for_current_academic_year
Claims::Claim.paid
end

def uploaded_claim_ids
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion spec/wizards/claims/upload_sampling_data_wizard_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
end

it "returns only paid claim, submitted during the current academic year" do
expect(paid_claims).to contain_exactly(current_year_paid_claim)
expect(paid_claims).to contain_exactly(current_year_paid_claim, another_paid_claim)
end
end

Expand Down

0 comments on commit c206eae

Please sign in to comment.