Use a fixed value for voucher factory

This commit is contained in:
David Cook
2023-05-19 17:19:54 +10:00
parent abf2105df7
commit 9d7316c553

View File

@@ -3,6 +3,6 @@
FactoryBot.define do
factory :voucher do
enterprise { build(:distributor_enterprise) }
amount { rand(200.0) }
amount { 15 }
end
end