diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-07-24 15:54:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-24 15:54:08 -0400 |
commit | 9c35bf2a6a27431c6aa283db781c19f61c5155be (patch) | |
tree | 9fc9122c33cb1b58db900f3d278c4a162cd1e433 /actionview/test/template/erb | |
parent | 998ec40f9e69616fbc813aab072711582b7c155c (diff) | |
parent | 424117281e72284539a10d26162b8ce9e95cf865 (diff) | |
download | rails-9c35bf2a6a27431c6aa283db781c19f61c5155be.tar.gz rails-9c35bf2a6a27431c6aa283db781c19f61c5155be.tar.bz2 rails-9c35bf2a6a27431c6aa283db781c19f61c5155be.zip |
Merge pull request #29897 from kirs/frozen-actionview
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" |