about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--test/test_server.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_server.rb b/test/test_server.rb
index 47c6bd5..da57f8c 100644
--- a/test/test_server.rb
+++ b/test/test_server.rb
@@ -568,9 +568,10 @@ class TestServer < Testcase
     Dir.mktmpdir do |tmpdir|
       begin
         pid = mkserver(cfg) do
+          $LOAD_PATH << File.expand_path("lib")
           cfg.instance_eval do
             working_directory tmpdir
-            GTL.synchronize { app(:rack, ru) { listen "#{host}:#{port}" } }
+            app(:rack, ru) { listen "#{host}:#{port}" }
             stderr_path err.path
           end
         end