diff options
author | George Claghorn <george.claghorn@gmail.com> | 2017-10-13 22:23:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-13 22:23:45 -0400 |
commit | dfc6c8b9b288795ae4387840303e084ae4dcfdc3 (patch) | |
tree | cf1c793b6108edcd91980d9f2d681eff64cb261d | |
parent | 680b853ddbddcbb2b3618f54686196a32e719986 (diff) | |
parent | 6a7559417f91429f9f2006c5406e0387923c7312 (diff) | |
download | rails-dfc6c8b9b288795ae4387840303e084ae4dcfdc3.tar.gz rails-dfc6c8b9b288795ae4387840303e084ae4dcfdc3.tar.bz2 rails-dfc6c8b9b288795ae4387840303e084ae4dcfdc3.zip |
Merge pull request #30888 from y-yagi/fix_test_name_for_daemon_option
Fix test name for daemon option test
-rw-r--r-- | railties/test/commands/server_test.rb | 4 |
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] |