test/aitch/uri_test.rb in aitch-1.2.1 vs test/aitch/uri_test.rb in aitch-1.2.2
- old
+ new
@@ -31,8 +31,9 @@
assert_nil Aitch::URI.new("http://example.org/", {c: 3}, true).query
end
test "returns request uri" do
uri = Aitch::URI.new("http://example.org/some/path?a=1&b=2#hello", c: 3)
+
assert_equal "/some/path?a=1&b=2&c=3#hello", uri.request_uri
end
end