Sha256: 8c30c0cb94f15a64b52529aa9ae5565ff39257d6a564f675d5477f8ed5609337

Contents?: true

Size: 288 Bytes

Versions: 10

Compression:

Stored size: 288 Bytes

Contents

require 'factory_girl'
require 'alchemy/test_support/factories/essence_text_factory'

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-3.4.2 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.4.1 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.3.3 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.3.2 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.4.0 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.4.0.rc1 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.3.1 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.3.0 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.3.0.rc2 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.3.0.rc1 lib/alchemy/test_support/factories/content_factory.rb