aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/system_testing/test_helpers/form_helper.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2016-10-04 08:48:21 -0400
committereileencodes <eileencodes@gmail.com>2017-02-20 15:07:33 -0500
commita21e18d5080a2c4808330271885f5664a725d3f3 (patch)
tree4b82d8843fdddf71263eecd72c676fe3d8902d6e /actionpack/lib/system_testing/test_helpers/form_helper.rb
parentc83e6d36dd13baa8b8cb48ce1c628788a2456d21 (diff)
downloadrails-a21e18d5080a2c4808330271885f5664a725d3f3.tar.gz
rails-a21e18d5080a2c4808330271885f5664a725d3f3.tar.bz2
rails-a21e18d5080a2c4808330271885f5664a725d3f3.zip
Appease Rubocop
Rubocop / code climate don't like single quotes and prefer doubles.
Diffstat (limited to 'actionpack/lib/system_testing/test_helpers/form_helper.rb')
-rw-r--r--actionpack/lib/system_testing/test_helpers/form_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/system_testing/test_helpers/form_helper.rb b/actionpack/lib/system_testing/test_helpers/form_helper.rb
index 4789694bbb..74a1516116 100644
--- a/actionpack/lib/system_testing/test_helpers/form_helper.rb
+++ b/actionpack/lib/system_testing/test_helpers/form_helper.rb
@@ -50,7 +50,7 @@ module SystemTesting
find(:field, name, visible: :all, checked: checked)
end
- def find_label_wrapper(field, location: './ancestor::label')
+ def find_label_wrapper(field, location: "./ancestor::label")
field.find :xpath, location
end
end