mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
Fix syntax for nil property
This commit is contained in:
@@ -78,7 +78,7 @@ FactoryBot.define do
|
||||
end
|
||||
|
||||
factory :enterprise_fee, class: EnterpriseFee do
|
||||
transient { amount nil }
|
||||
transient { amount { nil } }
|
||||
|
||||
sequence(:name) { |n| "Enterprise fee #{n}" }
|
||||
sequence(:fee_type) { |n| EnterpriseFee::FEE_TYPES[n % EnterpriseFee::FEE_TYPES.count] }
|
||||
|
||||
Reference in New Issue
Block a user