From: Tom Hughes Date: Sat, 12 Apr 2025 00:00:47 +0000 (+0100) Subject: Monkey patch Rack::Server until a new teaspoon is released X-Git-Tag: live~29^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/83dae8ca11cdc23c86e9e1a9b1394072b233b0f3?ds=inline Monkey patch Rack::Server until a new teaspoon is released https://github.com/jejacks0n/teaspoon/pull/604 --- diff --git a/test/teaspoon_env.rb b/test/teaspoon_env.rb index a64274c0a..5dd59b433 100644 --- a/test/teaspoon_env.rb +++ b/test/teaspoon_env.rb @@ -1,3 +1,7 @@ +# Monkey patch pending new release with +# https://github.com/jejacks0n/teaspoon/pull/604 +Rack::Server = Rackup::Server + Teaspoon.configure do |config| # Determines where the Teaspoon routes will be mounted. Changing this to "/jasmine" would allow you to browse to # `http://localhost:3000/jasmine` to run your tests.