spec/page_rankr_spec.rb in PageRankr-2.0.4 vs spec/page_rankr_spec.rb in PageRankr-3.0.0
- old
+ new
@@ -75,11 +75,14 @@
end
end
PageRankr.backlink_trackers.each do |tracker|
it{ should have_key(tracker) }
- it{ subject[tracker].should > 0 }
+
+ it "#{tracker} should have a value greater than zero" do
+ subject[tracker].should > 0
+ end
end
end
describe "failure" do
subject do
@@ -110,10 +113,13 @@
end
end
PageRankr.index_trackers.each do |tracker|
it{ should have_key(tracker) }
- it{ subject[tracker].should > 0 }
+
+ it "#{tracker} should have a value greater than zero" do
+ subject[tracker].should > 0
+ end
end
end
describe "failure" do
subject do
\ No newline at end of file