mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 19:06:12 +02:00
Suppress FactoryBot warnings
See also https://robots.thoughtbot.com/deprecating-static-attributes-in-factory_bot-4-11 Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
94340ec3c1
commit
881b357c77
@ -3,9 +3,9 @@ FactoryBot.define 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"
|
||||
variant { "fluentd_gem" }
|
||||
log_file { dir + "/fluentd.log" }
|
||||
pid_file { dir + "/fluentd.pid" }
|
||||
config_file { dir + "/fluentd.conf" }
|
||||
end
|
||||
end
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
FactoryBot.define do
|
||||
factory :plugin do
|
||||
gem_name "fluent-plugin-dummy"
|
||||
version "1.2.3"
|
||||
gem_name { "fluent-plugin-dummy" }
|
||||
version { "1.2.3" }
|
||||
end
|
||||
end
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
FactoryBot.define do
|
||||
factory :user do
|
||||
name "admin"
|
||||
password "changeme"
|
||||
name { "admin" }
|
||||
password { "changeme" }
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user