提交 7b01ae0b 编写于 作者: P Pat Allan

Add frozen string pragma to expected routes files.

上级 acea68de
......@@ -383,6 +383,7 @@ def test_route_should_add_data_with_an_new_line
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 @@ def test_route_should_add_data_with_an_new_line
action :route, "resources :product_lines"
routes = <<-F
# frozen_string_literal: true
Rails.application.routes.draw do
resources :product_lines
root 'welcome#index'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册