mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-13 17:57:10 +02:00
12 lines
264 B
Ruby
12 lines
264 B
Ruby
FactoryBot.define do
|
|
factory :fluentd do
|
|
dir = Rails.root.join("tmp/fluentd-test").to_s
|
|
FileUtils.mkdir_p(dir)
|
|
|
|
variant "fluentd_gem"
|
|
log_file dir + "/fluentd.log"
|
|
pid_file dir + "/fluentd.pid"
|
|
config_file dir + "/fluentd.conf"
|
|
end
|
|
end
|