diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-02-12 20:44:15 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-02-12 20:44:15 +0900 |
commit | 16ee3ccc9c7992269e69e9e809257d56c81ce174 (patch) | |
tree | f9cc344c906515c62e872f06d9545acf5eaa7dd9 /actionview/test | |
parent | 4fed08fa787a316fa51f14baca9eae11913f5050 (diff) | |
download | rails-16ee3ccc9c7992269e69e9e809257d56c81ce174.tar.gz rails-16ee3ccc9c7992269e69e9e809257d56c81ce174.tar.bz2 rails-16ee3ccc9c7992269e69e9e809257d56c81ce174.zip |
Add `Style/EmptyLinesAroundMethodBody` in `.rubocop.yml` and remove extra empty lines
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/template/date_helper_test.rb | 1 | ||||
-rw-r--r-- | actionview/test/template/form_helper_test.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/actionview/test/template/date_helper_test.rb b/actionview/test/template/date_helper_test.rb index a84ac18bee..bfd3ecd6fd 100644 --- a/actionview/test/template/date_helper_test.rb +++ b/actionview/test/template/date_helper_test.rb @@ -1407,7 +1407,6 @@ class DateHelperTest < ActionView::TestCase end def test_select_datetime_with_custom_prompt - expected = %(<select id="date_first_year" name="date[first][year]">\n) expected << %(<option value="">Choose year</option>\n<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n) expected << "</select>\n" diff --git a/actionview/test/template/form_helper_test.rb b/actionview/test/template/form_helper_test.rb index 83231d5277..490df5e4d9 100644 --- a/actionview/test/template/form_helper_test.rb +++ b/actionview/test/template/form_helper_test.rb @@ -767,7 +767,6 @@ class FormHelperTest < ActionView::TestCase '<input name="post[bar][comment_ids][]" type="hidden" value="0" /><input checked="checked" id="post_bar_comment_ids_3" name="post[bar][comment_ids][]" type="checkbox" value="3" />', check_box("post", "comment_ids", { multiple: true, index: "bar" }, 3) ) - end def test_checkbox_disabled_disables_hidden_field |