diff options
author | elijah <elijah@riseup.net> | 2013-05-19 22:33:25 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-05-19 22:33:25 -0700 |
commit | 63ab91606173a34bb34dfa61164dc20e0a505e77 (patch) | |
tree | 277b40cfd2d35442c18f822fe7db4f5a0c413480 /test | |
parent | f9d6b218be3bdbb2d3c544849b2ab92348d0e394 (diff) |
fix bug with empty request parameters
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/nickserver_test.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/unit/nickserver_test.rb b/test/unit/nickserver_test.rb index 3a286fa..46e69ca 100644 --- a/test/unit/nickserver_test.rb +++ b/test/unit/nickserver_test.rb @@ -74,6 +74,15 @@ class NickserverTest < MiniTest::Unit::TestCase end end + def test_GET_empty + start do + get({}) do |http| + assert_equal "404 Not Found\n", http.response + stop + end + end + end + protected # |