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 :commentaire do
body 'plop'
body { 'plop' }
before(:create) do |commentaire, _evaluator|
if !commentaire.dossier