diff options
Diffstat (limited to 'lib/solidus_subscriptions/testing_support')
-rw-r--r-- | lib/solidus_subscriptions/testing_support/factories/installment_factory.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/solidus_subscriptions/testing_support/factories/installment_factory.rb b/lib/solidus_subscriptions/testing_support/factories/installment_factory.rb index 2eb5069..20dcc04 100644 --- a/lib/solidus_subscriptions/testing_support/factories/installment_factory.rb +++ b/lib/solidus_subscriptions/testing_support/factories/installment_factory.rb @@ -21,5 +21,9 @@ FactoryBot.define do [association(:installment_detail, :success, installment: @instance, order: order)] end end + + trait :actionable do + actionable_date { Time.zone.now } + end end end |