about summary refs log tree commit homepage
path: root/test/test_redirect_handler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_redirect_handler.rb')
-rw-r--r--test/test_redirect_handler.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/test_redirect_handler.rb b/test/test_redirect_handler.rb
index dc81647..f970203 100644
--- a/test/test_redirect_handler.rb
+++ b/test/test_redirect_handler.rb
@@ -4,11 +4,7 @@
 # Additional work donated by contributors.  See http://mongrel.rubyforge.org/attributions.html
 # for more information.
 
-require 'test/unit'
-require 'mongrel'
-require 'net/http'
-require 'uri'
-require 'timeout'
+require 'test/testhelp'
 
 class RedirectHandlerTest < Test::Unit::TestCase
 
@@ -19,7 +15,7 @@ class RedirectHandlerTest < Test::Unit::TestCase
   end
 
   def teardown
-    @server.stop
+    @server.stop(true)
   end
 
   def test_simple_redirect