From 3e0d3ce518ffbad1f8656ab39a98d784d091acc5 Mon Sep 17 00:00:00 2001 From: Rigoberto Molina Date: Mon, 17 Sep 2018 16:56:29 -0700 Subject: [PATCH] Use symbol instead of string --- test/support/discovery_inputs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/support/discovery_inputs.rb b/test/support/discovery_inputs.rb index de3301d6..6ce07211 100644 --- a/test/support/discovery_inputs.rb +++ b/test/support/discovery_inputs.rb @@ -39,7 +39,7 @@ end class FileInput < SimpleForm::Inputs::FileInput def input_html_classes - super.delete_if { |html_class| html_class == 'file' } + super.delete_if { |html_class| html_class == :file } super.push('file-upload') end end