diff options
author | Kir Shatrov <shatrov@me.com> | 2017-07-23 18:36:41 +0300 |
---|---|---|
committer | Kir Shatrov <shatrov@me.com> | 2017-07-24 11:53:43 +0300 |
commit | 424117281e72284539a10d26162b8ce9e95cf865 (patch) | |
tree | 2d84bcb886b1b4eb436ab3a639254a08f2a9a444 /actionview/test/template/erb | |
parent | 2ee46434e0e8f81b1a852d7b190a2f7b0ba67228 (diff) | |
download | rails-424117281e72284539a10d26162b8ce9e95cf865.tar.gz rails-424117281e72284539a10d26162b8ce9e95cf865.tar.bz2 rails-424117281e72284539a10d26162b8ce9e95cf865.zip |
Use frozen string literal in actionview/
Diffstat (limited to 'actionview/test/template/erb')
4 files changed, 8 insertions, 0 deletions
diff --git a/actionview/test/template/erb/deprecated_erubis_implementation_test.rb b/actionview/test/template/erb/deprecated_erubis_implementation_test.rb index aaf99f85c0..ea088e7cfc 100644 --- a/actionview/test/template/erb/deprecated_erubis_implementation_test.rb +++ b/actionview/test/template/erb/deprecated_erubis_implementation_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "abstract_unit" module ERBTest diff --git a/actionview/test/template/erb/form_for_test.rb b/actionview/test/template/erb/form_for_test.rb index e722b40a9a..b6ecf003a5 100644 --- a/actionview/test/template/erb/form_for_test.rb +++ b/actionview/test/template/erb/form_for_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "abstract_unit" require "template/erb/helper" diff --git a/actionview/test/template/erb/helper.rb b/actionview/test/template/erb/helper.rb index bc1eedc15f..57d6cb1be3 100644 --- a/actionview/test/template/erb/helper.rb +++ b/actionview/test/template/erb/helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module ERBTest class ViewContext include ActionView::Helpers::UrlHelper diff --git a/actionview/test/template/erb/tag_helper_test.rb b/actionview/test/template/erb/tag_helper_test.rb index 233f37c48a..24a7592950 100644 --- a/actionview/test/template/erb/tag_helper_test.rb +++ b/actionview/test/template/erb/tag_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "abstract_unit" require "template/erb/helper" |