Permalink
Browse files

Test specifically for argument error in query params normalize

  • Loading branch information...
1 parent 7a50393 commit abad5975e816fb6ee0bb35b9d5bad659f8e90149 @tooky tooky committed May 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/util/uri_spec.rb
View
@@ -169,7 +169,7 @@
it "should successfully handle array parameters" do
uri = 'http://www.example.com:80/path?a[]=b&a[]=c'
- lambda { WebMock::Util::URI.normalize_uri(uri) }.should_not raise_error
+ lambda { WebMock::Util::URI.normalize_uri(uri) }.should_not raise_error(ArgumentError)
end
end

0 comments on commit abad597

Please sign in to comment.