aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2018-01-01 01:18:17 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2018-01-07 20:48:53 +0530
commitb821f95403bb3853264dd689de5c974ec00c9c8f (patch)
treee47b8e90f9bfc114b0c38d43db004157154ff320 /railties/test
parenta736e82170c6731dee01cf2f20d0dcb0fd2be5c0 (diff)
downloadrails-b821f95403bb3853264dd689de5c974ec00c9c8f.tar.gz
rails-b821f95403bb3853264dd689de5c974ec00c9c8f.tar.bz2
rails-b821f95403bb3853264dd689de5c974ec00c9c8f.zip
Improve the deprecation message for using subclass of Rails::Application to start the Rails server
Diffstat (limited to 'railties/test')
-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 a6093b5733..f3a7e00a4d 100644
--- a/railties/test/application/server_test.rb
+++ b/railties/test/application/server_test.rb
@@ -29,7 +29,7 @@ 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