Skip to content

Commit

Permalink
fix puma server in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zvkemp committed Oct 17, 2022
1 parent 4ef4a2d commit 311f093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def start(opts)

LOCK.synchronize do
@started = true
@server = Puma::Server.new(self, Puma::Events.new($stdout, $stderr))
@server = Puma::Server.new(self)
@server.add_tcp_listener("127.0.0.1", opts.fetch(:Port))
@server_thread = @server.run
end
Expand Down

0 comments on commit 311f093

Please sign in to comment.