factories: add parenthesis around method arguments

This commit is contained in:
Pierre de La Morinerie 2018-06-19 16:01:27 +02:00
parent d394555d8b
commit 60475d0165

View file

@ -20,7 +20,7 @@ FactoryBot.define do
trait :for_individual do
after(:build) do |dossier, _evaluator|
dossier.individual = create :individual
dossier.individual = create(:individual)
dossier.save
end
end