Sha256: a9e4aa6eaf3bce40e19981acf89c9b3044cfec834f78e237ed88ab26642b38ee

Contents?: true

Size: 340 Bytes

Versions: 14

Compression:

Stored size: 340 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
    association :element, factory: :alchemy_element
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
alchemy_cms-3.6.7 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.6.6 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.6.5 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.6.4 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.6.3 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.6.2 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-4.0.0.rc2 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-4.0.0.rc1 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.6.1 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-4.0.0.beta lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.6.0 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.5.0 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.5.0.rc2 lib/alchemy/test_support/factories/content_factory.rb
alchemy_cms-3.5.0.rc1 lib/alchemy/test_support/factories/content_factory.rb