Skip to content

Commit

Permalink
fix test: ordering must now be explicitly called
Browse files Browse the repository at this point in the history
  • Loading branch information
asmega committed Oct 14, 2024
1 parent 68413ae commit c4dedf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/claim_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@
end

describe ".payrollable" do
subject { described_class.payrollable }
subject { described_class.payrollable.order(:submitted_at) }

let(:payroll_run) { create(:payroll_run, claims_counts: {Policies::StudentLoans => 1}) }
let!(:submitted_claim) { create(:claim, :submitted) }
Expand Down

0 comments on commit c4dedf5

Please sign in to comment.