diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-16 18:11:03 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-17 14:08:32 +0900 |
commit | 4183d5dfa1d6d651232a4db44a1fcf71d220af4e (patch) | |
tree | e84e97bc3516380d2cb679d59b5706b00f52b33b /actionview/test/template/form_helper_test.rb | |
parent | 47eadb68bfcae1641b019e07e051aa39420685fb (diff) | |
download | rails-4183d5dfa1d6d651232a4db44a1fcf71d220af4e.tar.gz rails-4183d5dfa1d6d651232a4db44a1fcf71d220af4e.tar.bz2 rails-4183d5dfa1d6d651232a4db44a1fcf71d220af4e.zip |
Enable `Layout/FirstParameterIndentation` cop
We have some indentation cops. But now there is a little inconsistent
params indentations. Enable `Layout/FirstParameterIndentation` cop to
prevent newly inconsistent indentation added and auto-correct to
existing violations.
Diffstat (limited to 'actionview/test/template/form_helper_test.rb')
-rw-r--r-- | actionview/test/template/form_helper_test.rb | 4 |
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" />}, |