spec/watirspec/links_spec.rb in watir-webdriver-0.0.7 vs spec/watirspec/links_spec.rb in watir-webdriver-0.0.8

- old
+ new

@@ -23,13 +23,19 @@ end end describe "#each" do it "iterates through links correctly" do + count = 0 + browser.links.each_with_index do |c, index| c.id.should == browser.link(:index, index).id c.value.should == browser.link(:index, index).value + + count += 1 end + + count.should > 0 end end end