From 1a8cd3feb497113220518e7aae10f88ebd3ac111 Mon Sep 17 00:00:00 2001 From: Kenji Okimoto Date: Thu, 13 Sep 2018 17:02:43 +0900 Subject: [PATCH] Use String#humanize instead of String#capitalize Signed-off-by: Kenji Okimoto --- test/support/configurable_daemon_settings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/support/configurable_daemon_settings.rb b/test/support/configurable_daemon_settings.rb index a95bc99..600f149 100644 --- a/test/support/configurable_daemon_settings.rb +++ b/test/support/configurable_daemon_settings.rb @@ -15,7 +15,7 @@ module ConfigurableDaemonSettings end visit(__send__("daemon_setting_#{@type}_path")) within("form") do - fill_in(@form_name.capitalize, with: @form_value) + fill_in(@form_name.humanize, with: @form_value) end click_button(I18n.t("fluentd.common.finish")) assert do