mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 11:56:21 +00:00
17 lines
269 B
Ruby
17 lines
269 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :collection, class: Jekyll::Collection do
|
|
site do
|
|
build(:jekyll)
|
|
end
|
|
|
|
label do
|
|
('a'..'z').to_a.sample(2).join
|
|
end
|
|
|
|
initialize_with do
|
|
new(site, label)
|
|
end
|
|
end
|
|
end
|