Sha256: 8ed80a0d7a8116f5f5aa6184226995a90d87044f87d5f861b2daa423d9f048a2

Contents?: true

Size: 338 Bytes

Versions: 7

Compression:

Stored size: 338 Bytes

Contents

require 'factory_bot'
require 'alchemy/test_support/factories/essence_text_factory'

FactoryBot.define do
  factory :alchemy_content, class: 'Alchemy::Content' do
    name "text"
    essence_type "Alchemy::EssenceText"
    association :essence, factory: :alchemy_essence_text
    association :element, factory: :alchemy_element
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-4.0.5 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-4.0.4 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-4.0.3 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-4.0.2 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-4.0.1 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-4.0.0 lib/alchemy/test_support/factories/content_factory.rb