diff options
Diffstat (limited to 'lib/solidus_subscriptions/testing_support')
-rw-r--r-- | lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb b/lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb index d434d2a..0528c14 100644 --- a/lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb +++ b/lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb @@ -17,12 +17,12 @@ FactoryGirl.define do trait :actionable do with_line_item - actionable_date { Time.zone.now.yesterday } + actionable_date { Time.zone.now.yesterday.beginning_of_minute } end trait :not_actionable do with_line_item - actionable_date { Time.zone.now.tomorrow } + actionable_date { Time.zone.now.tomorrow.beginning_of_minute } end trait(:pending_cancellation) do |