Skip to content

Commit

Permalink
Modify test for PR puma#3118
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Apr 1, 2023
1 parent 4f918a4 commit 7be6f15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_rack_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ def app
Proc.new {|env| @input = env; [200, {}, ["hello world"]]}
end

# `Verbose: true` is included for `NameError`,
# see https://github.com/puma/puma/pull/3118
def test_on_booted
on_booted = false
events = Puma::Events.new
Expand All @@ -20,7 +22,7 @@ def test_on_booted

launcher = nil
thread = Thread.new do
Rack::Handler::Puma.run(app, events: events, Silent: true) do |l|
Rack::Handler::Puma.run(app, events: events, Verbose: true, Silent: true) do |l|
launcher = l
end
end
Expand Down

0 comments on commit 7be6f15

Please sign in to comment.