Permalink
Browse files

Added pending test for #91.

  • Loading branch information...
1 parent eb1b45c commit 77ec67806b3cb9acc395a015b5850fb2c6c4bbb9 @sporkmonger committed Feb 4, 2013
Showing with 9 additions and 2 deletions.
  1. +9 −2 spec/addressable/uri_spec.rb
@@ -3826,13 +3826,20 @@ def to_s
"'?one=two&one=three'" do
before do
@uri = Addressable::URI.parse(
- "?one=two&one=three"
+ "?one=two&one=three&one=four"
)
end
it "should have correct array query values" do
@uri.query_values(Array).should ==
- [['one', 'two'], ['one', 'three']]
+ [['one', 'two'], ['one', 'three'], ['one', 'four']]
+ end
+
+ it "should have correct hash query values" do
+ pending("This is probably more desirable behavior.") do
+ @uri.query_values(Hash).should ==
+ {'one' => ['two', 'three', 'four']}
+ end
end
end

0 comments on commit 77ec678

Please sign in to comment.