Skip to content

Commit

Permalink
Make fake processor on_grace_period? consistent with other implementa…
Browse files Browse the repository at this point in the history
…tions
  • Loading branch information
excid3 committed Jun 2, 2023
1 parent 459018f commit 1893a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pay/fake_processor/subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def change_quantity(quantity, **options)
end

def on_grace_period?
canceled? && Time.current < ends_at
ends_at? && ends_at > Time.current
end

def paused?
Expand Down

0 comments on commit 1893a25

Please sign in to comment.