demarches-normaliennes/spec/factories/release_notes.rb
2023-11-08 18:23:07 +01:00

8 lines
212 B
Ruby

FactoryBot.define do
factory :release_note do
body { "Sample release note body" }
categories { ReleaseNote::CATEGORIES.sample(1) }
published { true }
released_on { 1.day.ago.to_date }
end
end