demarches-normaliennes/spec/factories/bulk_message.rb

11 lines
272 B
Ruby
Raw Normal View History

FactoryBot.define do
factory :bulk_message do
body { 'bonjour' }
dossier_count { 1 }
dossier_state { Dossier.states.fetch(:brouillon) }
sent_at { 1.day.ago }
instructeur { association :instructeur }
procedure { association :procedure }
end
end