Remove leftovers of the date attribute
This commit is contained in:
parent
fdef94be9a
commit
93d907cdc8
@ -11,7 +11,7 @@ ActsAsTenant.without_tenant do
|
||||
Wedding.delete_all
|
||||
end
|
||||
|
||||
wedding = Wedding.create!(slug: :default, date: 1.year.from_now)
|
||||
wedding = Wedding.create!(slug: :default)
|
||||
|
||||
ActsAsTenant.with_tenant(wedding) do
|
||||
Expense.create!(name: 'Photographer', amount: 3000, pricing_type: 'fixed')
|
||||
|
@ -3,6 +3,5 @@
|
||||
FactoryBot.define do
|
||||
factory :wedding do
|
||||
sequence(:slug) { |i| "wedding-#{i}" }
|
||||
date { 1.year.from_now }
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user