# frozen_string_literal: true

# Read about factories at https://github.com/thoughtbot/factory_bot

FactoryBot.define do
  factory :alternate_name do
    name { "alternate name" }
    language { "EN" }
    crop
    creator

    factory :alternate_eggplant do
      association :crop, factory: :eggplant
      name { "aubergine" }
    end
  end
end
