From 6a7559417f91429f9f2006c5406e0387923c7312 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sat, 14 Oct 2017 07:27:12 +0900 Subject: 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. --- railties/test/commands/server_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/test') 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] -- cgit v1.2.3