mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
d39fe92a2d
* Fix crash when no_token is set * Use a more meaningful name instead of an empty string * Adds a test to ensure `{ no_token: true }` works * Adds an explanation for the usage of a String Just to justify the use of a String instead of a Symbol. * Removes thread that would start the server This removes the part of the test that would start the server. The reason why the thread was being created originally in the PR was to ensure that the server was booting even with `{ no_token: true }`. I believe we don't need to test the full server boot but just ensure that we won't pass a Symbol to OptionParser. In particular the test ensures that the token will be set to `'none'` when `no_token: true`. There're already other tests testing that the server boots. |
||
---|---|---|
.. | ||
ab_rs.rb | ||
app.rb | ||
control_no_token.rb | ||
plugin.rb | ||
settings.rb | ||
simple.rb | ||
ssl_config.rb | ||
state_file_testing_config.rb | ||
suppress_exception.rb | ||
with_integer_convert.rb |