10 lines
181 B
Ruby
10 lines
181 B
Ruby
FactoryBot.define do
|
|
factory :language do
|
|
sequence(:name) { |n| "MyString#{n.to_s}" }
|
|
end
|
|
|
|
factory :language_english, class: :language do
|
|
name { "English" }
|
|
end
|
|
end
|