diff --git a/spec/factories/billings.rb b/spec/factories/billings.rb deleted file mode 100644 index 0700f35..0000000 --- a/spec/factories/billings.rb +++ /dev/null @@ -1,7 +0,0 @@ -FactoryBot.define do - factory :billing do - subscription { nil } - billing_date { '2024-02-15' } - amount { '19.90' } - end -end diff --git a/spec/factories/subscriptions.rb b/spec/factories/subscriptions.rb index 4363892..4c25c48 100644 --- a/spec/factories/subscriptions.rb +++ b/spec/factories/subscriptions.rb @@ -1,7 +1,7 @@ FactoryBot.define do factory :subscription do user - start_date { '2024-02-15' } + start_date { Time.zone.now.to_date } status { 0 } end end