diff options
author | Pat Allan <pat@freelancing-gods.com> | 2017-08-14 19:50:20 +0200 |
---|---|---|
committer | Pat Allan <pat@freelancing-gods.com> | 2017-08-14 19:50:20 +0200 |
commit | 7b01ae0bc36a9e48b5b204a4839bd1c6fbfa840b (patch) | |
tree | b07e5904d13cfbe7a3d416bb3647961bcb2c142a /railties | |
parent | acea68de026ba657cb65c4dd0fc1f24ba67e1cf8 (diff) | |
download | rails-7b01ae0bc36a9e48b5b204a4839bd1c6fbfa840b.tar.gz rails-7b01ae0bc36a9e48b5b204a4839bd1c6fbfa840b.tar.bz2 rails-7b01ae0bc36a9e48b5b204a4839bd1c6fbfa840b.zip |
Add frozen string pragma to expected routes files.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/generators/actions_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/test/generators/actions_test.rb b/railties/test/generators/actions_test.rb index e2ff3c279c..e2e5aec805 100644 --- a/railties/test/generators/actions_test.rb +++ b/railties/test/generators/actions_test.rb @@ -383,6 +383,7 @@ class ActionsTest < Rails::Generators::TestCase File.open(route_path, "wb") { |file| file.write(content) } routes = <<-F +# frozen_string_literal: true Rails.application.routes.draw do root 'welcome#index' end @@ -393,6 +394,7 @@ F action :route, "resources :product_lines" routes = <<-F +# frozen_string_literal: true Rails.application.routes.draw do resources :product_lines root 'welcome#index' |