Fix FactoryBot warnings

This commit is contained in:
gregoirenovel 2018-09-04 16:46:48 +02:00
parent 12014fb553
commit f66d8451b1
27 changed files with 149 additions and 145 deletions

View file

@ -1,6 +1,6 @@
FactoryBot.define do
factory :invite do
email 'plop@octo.com'
email { 'plop@octo.com' }
after(:build) do |invite, _evaluator|
if invite.dossier.nil?