Sha256: 496cd434739bd66d4ce9681e0630ecf5580c291343535e2a942513ec208545c0
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
require "spec_helper" describe Http2::UrlBuilder do describe "#build" do it "builds correctly" do ub = Http2::UrlBuilder.new ub.protocol = "https" ub.host = "www.github.com" ub.port = "443" ub.path = "index.php" ub.params["test"] = "true" ub.params["test2"] = "false" expect(ub.build).to eq "https://www.github.com:443/index.php?test=true&test2=false" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
http2-0.0.36 | spec/http2/url_builder_spec.rb |