diff options
author | Matthew Draper <matthew@trebex.net> | 2017-07-29 15:38:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-29 15:38:02 -0400 |
commit | b5db73076914e7103466bd76bec785cbcfe88875 (patch) | |
tree | c167e5e4ba9691dcbb543f2e07d716fcf11bfa4d /actionpack/test/lib/controller | |
parent | 904f1a8747958129124d86b44e36c5f0263e0125 (diff) | |
parent | dfcc766163fa58389a6fe6dc5788533a455f8a89 (diff) | |
download | rails-b5db73076914e7103466bd76bec785cbcfe88875.tar.gz rails-b5db73076914e7103466bd76bec785cbcfe88875.tar.bz2 rails-b5db73076914e7103466bd76bec785cbcfe88875.zip |
Merge pull request #29933 from kirs/frozen-actionpack
Use frozen string literal in actionpack/
Diffstat (limited to 'actionpack/test/lib/controller')
-rw-r--r-- | actionpack/test/lib/controller/fake_controllers.rb | 2 | ||||
-rw-r--r-- | actionpack/test/lib/controller/fake_models.rb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/test/lib/controller/fake_controllers.rb b/actionpack/test/lib/controller/fake_controllers.rb index 1a2863b689..e985716f43 100644 --- a/actionpack/test/lib/controller/fake_controllers.rb +++ b/actionpack/test/lib/controller/fake_controllers.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class ContentController < ActionController::Base; end module Admin diff --git a/actionpack/test/lib/controller/fake_models.rb b/actionpack/test/lib/controller/fake_models.rb index ff37d85ed8..01c7ec26ae 100644 --- a/actionpack/test/lib/controller/fake_models.rb +++ b/actionpack/test/lib/controller/fake_models.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "active_model" Customer = Struct.new(:name, :id) do |