Sha256: 4bd7e9b9afc508766968021439259f4416f83fc8979967cae073d105e510247a
Contents?: true
Size: 583 Bytes
Versions: 57
Compression:
Stored size: 583 Bytes
Contents
# frozen_string_literal: true 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 trait :essence_file do essence_type { "Alchemy::EssenceFile" } association :essence, factory: :alchemy_essence_file end trait :essence_picture do essence_type { "Alchemy::EssencePicture" } association :essence, factory: :alchemy_essence_picture end end end
Version data entries
57 entries across 57 versions & 1 rubygems