spec/document_spec.rb in metainspector-4.2.1 vs spec/document_spec.rb in metainspector-4.3.0
- old
+ new
@@ -19,10 +19,15 @@
it "should return a Hash with all the values set" do
doc = MetaInspector::Document.new('http://pagerankalert.com')
doc.to_hash.should == {
"url" => "http://pagerankalert.com/",
+ "scheme" => "http",
+ "host" => "pagerankalert.com",
+ "root_url" => "http://pagerankalert.com/",
"title" => "PageRankAlert.com :: Track your PageRank changes & receive alerts",
+ "best_title" => "PageRankAlert.com :: Track your PageRank changes & receive alerts",
+ "description" => "Track your PageRank(TM) changes and receive alerts by email",
"favicon" => "http://pagerankalert.com/src/favicon.ico",
"links" => {
'internal' => ["http://pagerankalert.com/",
"http://pagerankalert.com/es?language=es",
"http://pagerankalert.com/users/sign_up",