summary refs log tree commit
path: root/test/spec_utils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec_utils.rb')
-rw-r--r--test/spec_utils.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/spec_utils.rb b/test/spec_utils.rb
index 4ee2d03f..06ed5636 100644
--- a/test/spec_utils.rb
+++ b/test/spec_utils.rb
@@ -248,6 +248,8 @@ describe Rack::Utils do
 
     Rack::Utils.build_nested_query("foo" => "1", "bar" => "2").
       should.be equal_query_to("foo=1&bar=2")
+    Rack::Utils.build_nested_query("foo" => 1, "bar" => 2).
+      should.be equal_query_to("foo=1&bar=2")
     Rack::Utils.build_nested_query("my weird field" => "q1!2\"'w$5&7/z8)?").
       should.be equal_query_to("my+weird+field=q1%212%22%27w%245%267%2Fz8%29%3F")