mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 20:56:22 +00:00
17 lines
422 B
Ruby
17 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
|