Skip to content

Commit

Permalink
Fix test name for daemon option test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
y-yagi committed Oct 13, 2017
1 parent 6943abb commit 6a75594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/test/commands/server_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ def test_environment_without_server_option
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]
Expand Down

0 comments on commit 6a75594

Please sign in to comment.