Sha256: 12d8fc67eaafe8d995ff8489de75b7ed340841fb7badd3bbcd536a8a250ac4f4

Contents?: true

Size: 640 Bytes

Versions: 12

Compression:

Stored size: 640 Bytes

Contents

# frozen_string_literal: true
# require 'spree/testing_support/factories/store_factory.rb'
FactoryBot.define do
  # Define your Spree extensions Factories within this file to enable applications, and other extensions to use and override them.
  #
  # Example adding this to your spec_helper will load these Factories for use:
  # require 'solidus_seo/factories'
end

FactoryBot.modify do
  factory :store, class: Spree::Store do
    seo_title { 'My Store SEO name' }
    meta_description { 'My Store SEO description' }
  end

  factory :base_product, class: Spree::Product do
    meta_description { 'My Product SEO description' }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
solidus_seo-1.1.2 lib/solidus_seo/factories.rb
solidus_seo-1.1.1 lib/solidus_seo/factories.rb
solidus_seo-1.1.0 lib/solidus_seo/factories.rb
solidus_seo-1.0.13 lib/solidus_seo/factories.rb
solidus_seo-1.0.12 lib/solidus_seo/factories.rb
solidus_seo-1.0.11 lib/solidus_seo/factories.rb
solidus_seo-1.0.10 lib/solidus_seo/factories.rb
solidus_seo-1.0.8 lib/solidus_seo/factories.rb
solidus_seo-1.0.7 lib/solidus_seo/factories.rb
solidus_seo-1.0.2 lib/solidus_seo/factories.rb
solidus_seo-1.0.1 lib/solidus_seo/factories.rb
solidus_seo-1.0.0 lib/solidus_seo/factories.rb