Sha256: a3b0771828130118654bdc98e70b9d998aef765eb6a7b51dc2daf59ab3b2f798
Contents?: true
Size: 814 Bytes
Versions: 7
Compression:
Stored size: 814 Bytes
Contents
FactoryBot.define do factory :cms_section, class: Spree::CmsSection do name { generate(:random_string) } association :cms_page, factory: :base_cms_page factory :cms_hero_image_section do type { 'Spree::Cms::Sections::HeroImage' } end factory :cms_featured_article_section do type { 'Spree::Cms::Sections::FeaturedArticle' } end factory :cms_product_carousel_section do type { 'Spree::Cms::Sections::ProductCarousel' } end factory :cms_image_gallery_section do type { 'Spree::Cms::Sections::ImageGallery' } end factory :cms_side_by_side_images_section do type { 'Spree::Cms::Sections::SideBySideImages' } end factory :cms_rich_text_content_section do type { 'Spree::Cms::Sections::RichTextContent' } end end end
Version data entries
7 entries across 7 versions & 1 rubygems