spec/page_rankr_spec.rb in PageRankr-3.1.2 vs spec/page_rankr_spec.rb in PageRankr-3.2.0
- old
+ new
@@ -14,11 +14,10 @@
describe "#rank_trackers" do
subject{ PageRankr.rank_trackers }
it{ should include(:alexa_us) }
it{ should include(:alexa_global) }
- it{ should include(:compete) }
it{ should include(:google) }
end
describe "#ranks", :focus => true do
describe "success" do
@@ -29,15 +28,13 @@
end
it{ should have_key(:alexa_us) }
it{ should have_key(:alexa_global) }
it{ should have_key(:google) }
- it{ should have_key(:compete) }
it{ subject[:alexa_us].should >= 1 }
it{ subject[:alexa_global].should >= 1 }
- it{ subject[:compete].should >= 1 }
it{ subject[:google].should be_in(0..10) }
end
describe "failure" do
subject do
@@ -47,14 +44,12 @@
end
it{ should have_key(:alexa_us) }
it{ should have_key(:alexa_global) }
it{ should have_key(:google) }
- it{ should have_key(:compete) }
it{ subject[:alexa_us].should be_nil }
it{ subject[:alexa_global].should be_nil }
- it{ subject[:compete].should be_nil }
it{ subject[:google].should be_nil }
end
end
describe "#backlink_trackers" do
\ No newline at end of file