Sha256: e5d75b53073cf4f6ad7e4481964e49ca217d513144418aa7102f234943c6d833
Contents?: true
Size: 367 Bytes
Versions: 2
Compression:
Stored size: 367 Bytes
Contents
require 'spec_helper' describe PageRankr::Site do describe "#scheme" do it "should set the scheme to http if no scheme is present" do expect(PageRankr::Site("www.google.com").scheme).to eq("http") end it "should use the scheme if it is provided" do expect(PageRankr::Site("https://www.google.com").scheme).to eq("https") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
PageRankr-4.6.1 | spec/site_spec.rb |
PageRankr-4.6.0 | spec/site_spec.rb |