spec/site_spec.rb in PageRankr-4.4.1 vs spec/site_spec.rb in PageRankr-4.6.0
- old
+ new
@@ -1,13 +1,13 @@
require 'spec_helper'
describe PageRankr::Site do
describe "#scheme" do
it "should set the scheme to http if no scheme is present" do
- PageRankr::Site("www.google.com").scheme.should == "http"
+ expect(PageRankr::Site("www.google.com").scheme).to eq("http")
end
it "should use the scheme if it is provided" do
- PageRankr::Site("https://www.google.com").scheme.should == "https"
+ expect(PageRankr::Site("https://www.google.com").scheme).to eq("https")
end
end
-end
\ No newline at end of file
+end