spec/page_rankr_spec.rb in PageRankr-4.0.0 vs spec/page_rankr_spec.rb in PageRankr-4.1.0

- old
+ new

@@ -57,14 +57,16 @@ end end it{ should have_key(:alexa_us) } it{ should have_key(:alexa_global) } + it{ should have_key(:alexa_country) } it{ should have_key(:google) } it{ subject[:alexa_us].should be_number >= 1 } it{ subject[:alexa_global].should be_number >= 1 } + it{ subject[:alexa_country].should be_number >= 1 } it{ subject[:google].should be_in(0..10) } end describe "failure" do subject do @@ -73,13 +75,15 @@ end end it{ should have_key(:alexa_us) } it{ should have_key(:alexa_global) } + it{ should have_key(:alexa_country) } it{ should have_key(:google) } it{ subject[:alexa_us].should be_nil } it{ subject[:alexa_global].should be_nil } + it{ subject[:alexa_country].should be_nil } it{ subject[:google].should be_nil } end end describe "#backlink_trackers" do \ No newline at end of file