mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
9d93a0f62f
running `rake` loads all files starting with `test_` which is not supposed to also load the helper, since the helper should be loaded by each test and is not a test itself.
10 lines
312 B
Ruby
10 lines
312 B
Ruby
require_relative "helper"
|
|
|
|
require 'puma/control_cli'
|
|
|
|
class TestPumaControlCli < Minitest::Test
|
|
def test_config_file
|
|
control_cli = Puma::ControlCLI.new ["--config-file", "test/config/state_file_testing_config.rb", "halt"]
|
|
assert_equal "t3-pid", control_cli.instance_variable_get("@pidfile")
|
|
end
|
|
end
|