aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
Diffstat (limited to 'railties')
-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]