diff options
author | Pat Allan <pat@freelancing-gods.com> | 2017-08-14 19:08:09 +0200 |
---|---|---|
committer | Pat Allan <pat@freelancing-gods.com> | 2017-08-14 19:08:09 +0200 |
commit | acea68de026ba657cb65c4dd0fc1f24ba67e1cf8 (patch) | |
tree | 46a1aaac6f898b934c166ee8c01a06a0707049e4 /railties/lib/rails/generators/test_unit/plugin | |
parent | d435c92721a1fbecf0bc6d1b6c5cf95d228c851a (diff) | |
download | rails-acea68de026ba657cb65c4dd0fc1f24ba67e1cf8.tar.gz rails-acea68de026ba657cb65c4dd0fc1f24ba67e1cf8.tar.bz2 rails-acea68de026ba657cb65c4dd0fc1f24ba67e1cf8.zip |
Adding frozen_string_literal pragma to Railties.
Diffstat (limited to 'railties/lib/rails/generators/test_unit/plugin')
-rw-r--r-- | railties/lib/rails/generators/test_unit/plugin/plugin_generator.rb | 2 | ||||
-rw-r--r-- | railties/lib/rails/generators/test_unit/plugin/templates/test_helper.rb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/test_unit/plugin/plugin_generator.rb b/railties/lib/rails/generators/test_unit/plugin/plugin_generator.rb index f324000235..10fe27b2c3 100644 --- a/railties/lib/rails/generators/test_unit/plugin/plugin_generator.rb +++ b/railties/lib/rails/generators/test_unit/plugin/plugin_generator.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative "../../test_unit" module TestUnit # :nodoc: diff --git a/railties/lib/rails/generators/test_unit/plugin/templates/test_helper.rb b/railties/lib/rails/generators/test_unit/plugin/templates/test_helper.rb index 30a861f09d..2147b09568 100644 --- a/railties/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +++ b/railties/lib/rails/generators/test_unit/plugin/templates/test_helper.rb @@ -1,2 +1,4 @@ +# frozen_string_literal: true + require 'active_support/testing/autorun' require 'active_support' |