Sha256: 563177718d4658b4fe3867cd4a72e2f73edd99ae3e3bf5ad2b12c5a503b2ac15
Contents?: true
Size: 512 Bytes
Versions: 57
Compression:
Stored size: 512 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do %w[ audio boolean datetime file headline html link node page picture richtext select text ].each do |ingredient| factory :"alchemy_ingredient_#{ingredient}", class: "Alchemy::Ingredients::#{ingredient.classify}" do role { ingredient } type { "Alchemy::Ingredients::#{ingredient.classify}" } association :element, name: "all_you_can_eat", factory: :alchemy_element end end end
Version data entries
57 entries across 57 versions & 1 rubygems