1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/test/test_pumactl.rb

11 lines
317 B
Ruby
Raw Normal View History

require_relative "test_helper"
2017-03-10 11:02:34 -05:00
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")
2017-03-10 11:02:34 -05:00
end
end