Files
openfoodnetwork/spec/factories/calculated_adjustment_factory.rb
Luis Ramos 859d34c235 Remove nice trick to reuse traits by copy pasting the traits to each of
the 3 factories

I cannot figure out out to make this work again...
2020-08-23 14:35:58 +01:00

6 lines
149 B
Ruby

FactoryBot.define do
factory :calculator_flat_rate, class: Calculator::FlatRate do
preferred_amount { generate(:calculator_amount) }
end
end