diff options
Diffstat (limited to 'lib/solidus_subscriptions/testing_support')
-rw-r--r-- | lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb b/lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb index 61baa33..222f9ef 100644 --- a/lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb +++ b/lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb @@ -1,6 +1,8 @@ FactoryGirl.define do factory :subscription, class: 'SolidusSubscriptions::Subscription' do store + interval_length 1 + interval_units :month user do ccs = build_list(:credit_card, 1, gateway_customer_profile_id: 'BGS-123', default: true) |