diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-05-28 11:08:09 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-05-28 11:08:09 +0900 |
commit | 36390b6bdc75fca70e7a9d74c6270e3f40e77799 (patch) | |
tree | ceeb26781e69e053cb52bab1feb1b5a0700ab4b6 /actionview | |
parent | fe9547b6fb60d92af181c8613166fa4322f8e307 (diff) | |
download | rails-36390b6bdc75fca70e7a9d74c6270e3f40e77799.tar.gz rails-36390b6bdc75fca70e7a9d74c6270e3f40e77799.tar.bz2 rails-36390b6bdc75fca70e7a9d74c6270e3f40e77799.zip |
Remove unnecessary `with_default_enforce_utf8` method
Because the same method is defined in `FormWithTest` of the parent class.
https://github.com/rails/rails/blob/fe9547b6fb60d92af181c8613166fa4322f8e307/actionview/test/template/form_helper/form_with_test.rb#L19..L26
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/test/template/form_helper/form_with_test.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/actionview/test/template/form_helper/form_with_test.rb b/actionview/test/template/form_helper/form_with_test.rb index 6b65d740eb..ed1683bad2 100644 --- a/actionview/test/template/form_helper/form_with_test.rb +++ b/actionview/test/template/form_helper/form_with_test.rb @@ -2347,13 +2347,4 @@ class FormWithActsLikeFormForTest < FormWithTest ensure I18n.locale = old_locale end - - def with_default_enforce_utf8(value) - old_value = ActionView::Helpers::FormTagHelper.default_enforce_utf8 - ActionView::Helpers::FormTagHelper.default_enforce_utf8 = value - - yield - ensure - ActionView::Helpers::FormTagHelper.default_enforce_utf8 = old_value - end end |