mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 11:26:23 +00:00
16 lines
422 B
Ruby
16 lines
422 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :jekyll, class: Jekyll::Site do
|
|
initialize_with do
|
|
new(Jekyll.configuration(
|
|
'source' => Rails.root.join('test', 'fixtures', 'site').to_s,
|
|
'quiet' => true,
|
|
'safe' => true,
|
|
'watch' => false,
|
|
'destination' => Dir.mktmpdir,
|
|
'excerpt_separator' => ''
|
|
))
|
|
end
|
|
end
|
|
end
|