aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/server_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test/application/server_test.rb')
-rw-r--r--railties/test/application/server_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/server_test.rb b/railties/test/application/server_test.rb
index a6093b5733..92b991dd05 100644
--- a/railties/test/application/server_test.rb
+++ b/railties/test/application/server_test.rb
@@ -29,14 +29,14 @@ module ApplicationTests
server.app
log = File.read(Rails.application.config.paths["log"].first)
- assert_match(/DEPRECATION WARNING: Use `Rails::Application` subclass to start the server is deprecated/, log)
+ assert_match(/DEPRECATION WARNING: Using `Rails::Application` subclass to start the server is deprecated/, log)
end
test "restart rails server with custom pid file path" do
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