spec/watirspec/span_spec.rb in watir-webdriver-0.1.0 vs spec/watirspec/span_spec.rb in watir-webdriver-0.1.1
- old
+ new
@@ -10,15 +10,11 @@
# Exists method
describe "#exist?" do
it "returns true if the 'span' exists" do
browser.span(:id, "lead").should exist
browser.span(:id, /lead/).should exist
-
- bug "http://code.google.com/p/selenium/issues/detail?id=748", :webdriver do
- browser.span(:text, "Dubito, ergo cogito, ergo sum.").should exist
- browser.span(:text, /Dubito, ergo cogito, ergo sum/).should exist
- end
-
+ browser.span(:text, "Dubito, ergo cogito, ergo sum.").should exist
+ browser.span(:text, /Dubito, ergo cogito, ergo sum/).should exist
browser.span(:class, "lead").should exist
browser.span(:class, /lead/).should exist
browser.span(:index, 0).should exist
browser.span(:xpath, "//span[@id='lead']").should exist
end