diff options
author | Kir Shatrov <shatrov@me.com> | 2017-07-24 23:20:53 +0300 |
---|---|---|
committer | Kir Shatrov <shatrov@me.com> | 2017-07-29 14:02:40 +0300 |
commit | dfcc766163fa58389a6fe6dc5788533a455f8a89 (patch) | |
tree | c167e5e4ba9691dcbb543f2e07d716fcf11bfa4d /actionpack/lib/action_dispatch/testing/assertions | |
parent | 904f1a8747958129124d86b44e36c5f0263e0125 (diff) | |
download | rails-dfcc766163fa58389a6fe6dc5788533a455f8a89.tar.gz rails-dfcc766163fa58389a6fe6dc5788533a455f8a89.tar.bz2 rails-dfcc766163fa58389a6fe6dc5788533a455f8a89.zip |
Use frozen string literal in actionpack/
Diffstat (limited to 'actionpack/lib/action_dispatch/testing/assertions')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/response.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/routing.rb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/response.rb b/actionpack/lib/action_dispatch/testing/assertions/response.rb index 749f2eab57..98b1965d22 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/response.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/response.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module ActionDispatch module Assertions # A small suite of assertions that test responses from \Rails applications. diff --git a/actionpack/lib/action_dispatch/testing/assertions/routing.rb b/actionpack/lib/action_dispatch/testing/assertions/routing.rb index 8645df4370..5390581139 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/routing.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/routing.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "uri" require "active_support/core_ext/hash/indifferent_access" require "active_support/core_ext/string/access" |