aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/commands
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-10-14 07:27:12 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-10-14 07:34:33 +0900
commit6a7559417f91429f9f2006c5406e0387923c7312 (patch)
tree9ab3b80ef86599fb76dc7f72b74378828e32d53e /railties/test/commands
parent6943abb3d8b6b4745a83c5c0dd8b3ead4dd8207c (diff)
downloadrails-6a7559417f91429f9f2006c5406e0387923c7312.tar.gz
rails-6a7559417f91429f9f2006c5406e0387923c7312.tar.bz2
rails-6a7559417f91429f9f2006c5406e0387923c7312.zip
Fix test name for daemon option test
In this test file, "server option" refers to the server used to start Rails(e.g. `puma`, `thin`). But this test, "server option" is not specified. Therefore, I think that it is incorrect that `server_option` is included in the test name.
Diffstat (limited to 'railties/test/commands')
-rw-r--r--railties/test/commands/server_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/commands/server_test.rb b/railties/test/commands/server_test.rb
index 60bb8ca1db..33715ea75f 100644
--- a/railties/test/commands/server_test.rb
+++ b/railties/test/commands/server_test.rb
@@ -22,13 +22,13 @@ class Rails::ServerTest < ActiveSupport::TestCase
assert_nil options[:server]
end
- def test_server_option_with_daemon
+ def test_daemon_with_option
args = ["-d"]
options = parse_arguments(args)
assert_equal true, options[:daemonize]
end
- def test_server_option_without_daemon
+ def test_daemon_without_option
args = []
options = parse_arguments(args)
assert_equal false, options[:daemonize]