aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/form_helper_test.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-07-17 17:36:18 +0930
committerGitHub <noreply@github.com>2017-07-17 17:36:18 +0930
commitfbade51248ea48db87703ba7418badbd3ed85e36 (patch)
tree57b9b95a9eef8fa397532992fc277f31019d2815 /actionview/test/template/form_helper_test.rb
parenta0ff5b57246f0b1439dc9b5ffbdd880e70fab93d (diff)
parent4183d5dfa1d6d651232a4db44a1fcf71d220af4e (diff)
downloadrails-fbade51248ea48db87703ba7418badbd3ed85e36.tar.gz
rails-fbade51248ea48db87703ba7418badbd3ed85e36.tar.bz2
rails-fbade51248ea48db87703ba7418badbd3ed85e36.zip
Merge pull request #29810 from kamipo/add_first_parameter_indentation
Enable `Layout/FirstParameterIndentation` cop
Diffstat (limited to 'actionview/test/template/form_helper_test.rb')
-rw-r--r--actionview/test/template/form_helper_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/test/template/form_helper_test.rb b/actionview/test/template/form_helper_test.rb
index b24f9ed3f0..ec2e6b0959 100644
--- a/actionview/test/template/form_helper_test.rb
+++ b/actionview/test/template/form_helper_test.rb
@@ -1446,8 +1446,8 @@ class FormHelperTest < ActionView::TestCase
check_box("post[]", "secret")
)
assert_dom_equal(
- %{<input checked="checked" id="post_#{pid}_title_hello_world" name="post[#{pid}][title]" type="radio" value="Hello World" />},
- radio_button("post[]", "title", "Hello World")
+ %{<input checked="checked" id="post_#{pid}_title_hello_world" name="post[#{pid}][title]" type="radio" value="Hello World" />},
+ radio_button("post[]", "title", "Hello World")
)
assert_dom_equal(
%{<input id="post_#{pid}_title_goodbye_world" name="post[#{pid}][title]" type="radio" value="Goodbye World" />},