summary refs log tree commit
path: root/test/spec_handler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec_handler.rb')
-rw-r--r--test/spec_handler.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/spec_handler.rb b/test/spec_handler.rb
index e8f41fdc..c252c176 100644
--- a/test/spec_handler.rb
+++ b/test/spec_handler.rb
@@ -23,6 +23,10 @@ describe Rack::Handler do
     lambda {
       Rack::Handler.get('boom')
     }.should.raise(LoadError)
+
+    lambda {
+      Rack::Handler.get('Object')
+    }.should.raise(LoadError)
   end
 
   should "get unregistered, but already required, handler by name" do