Sha256: e5cbbb81bb0a19ae679c3be573de6f7fae49b80ece83838f136c51896fefc71a
Contents?: true
Size: 440 Bytes
Versions: 5
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :spina_blog_post, class: Spina::Admin::Conferences::Blog::Post do sequence(:title) { |n| "Blog Post #{n}" } content { 'Some content for my post' } association :category, factory: :spina_blog_category seo_title { 'Some title for SEO' } description { 'Some description for SEO' } factory :invalid_spina_blog_post do title { nil } end end end
Version data entries
5 entries across 5 versions & 1 rubygems