aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-05-21 21:04:01 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-05-21 21:10:14 +0900
commita77447f4da15dd3c2b02563fa6f5769c1d91e1bd (patch)
tree6f1b8ba09df3b8b938a3c5238eddbf3bd2501d3a /railties
parent15d00f04f40604842f9d6c86762b27d9a94e896e (diff)
downloadrails-a77447f4da15dd3c2b02563fa6f5769c1d91e1bd.tar.gz
rails-a77447f4da15dd3c2b02563fa6f5769c1d91e1bd.tar.bz2
rails-a77447f4da15dd3c2b02563fa6f5769c1d91e1bd.zip
Enable `Lint/StringConversionInInterpolation` rubocop rule
To prevent redundant `to_s` like https://github.com/rails/rails/pull/32923#discussion_r189460008 automatically in the future.
Diffstat (limited to 'railties')
-rw-r--r--railties/test/application/server_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/server_test.rb b/railties/test/application/server_test.rb
index f3a7e00a4d..92b991dd05 100644
--- a/railties/test/application/server_test.rb
+++ b/railties/test/application/server_test.rb
@@ -36,7 +36,7 @@ module ApplicationTests
skip "PTY unavailable" unless available_pty?
File.open("#{app_path}/config/boot.rb", "w") do |f|
- f.puts "ENV['BUNDLE_GEMFILE'] = '#{Bundler.default_gemfile.to_s}'"
+ f.puts "ENV['BUNDLE_GEMFILE'] = '#{Bundler.default_gemfile}'"
f.puts "require 'bundler/setup'"
end