Skip to content

Commit

Permalink
misc: fix flaky test (#1737)
Browse files Browse the repository at this point in the history
  • Loading branch information
lovrocolic authored Mar 1, 2024
1 parent 0826681 commit 12adcb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/services/fees/charge_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
to_datetime: subscription.started_at.end_of_month.end_of_day,
charges_from_datetime: subscription.started_at.beginning_of_day,
charges_to_datetime: subscription.started_at.end_of_month.end_of_day,
timestamp: (subscription.started_at.end_of_month + 1.day).end_of_day,
charges_duration: (
subscription.started_at.end_of_month.end_of_day - subscription.started_at.beginning_of_month
).fdiv(1.day).ceil,
Expand Down

0 comments on commit 12adcb9

Please sign in to comment.