]> git.openstreetmap.org Git - rails.git/commitdiff
Monkey patch Rack::Server until a new teaspoon is released
authorTom Hughes <tom@compton.nu>
Sat, 12 Apr 2025 00:00:47 +0000 (01:00 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 15 Apr 2025 17:26:21 +0000 (18:26 +0100)
https://github.com/jejacks0n/teaspoon/pull/604

test/teaspoon_env.rb

index a64274c0a6fa5a5c79008af8393c187f73cc1397..5dd59b43394a6e7f3ca7774fa09385d03a38fdcd 100644 (file)
@@ -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.