5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 12:46:22 +00:00
panel/test/factories/collection.rb
f 678bf88da3
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
feat: poder generar modelos para los tests
2023-10-06 11:00:50 -03:00

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