spec/watirspec/span_spec.rb in watir-webdriver-0.0.1.dev vs spec/watirspec/span_spec.rb in watir-webdriver-0.0.1.dev2

- old
+ new

@@ -137,21 +137,6 @@ lambda { browser.span(:id, "no_such_id").click }.should raise_error(UnknownObjectException) lambda { browser.span(:title, "no_such_title").click }.should raise_error(UnknownObjectException) end end - describe "#to_s" do - bug "WTR-350", :watir do - it "returns a human readable representation of the element" do - browser.span(:index, 1).to_s.should == "tag: span\n" + - " name: invalid_attribute\n" + - " value: invalid_attribute\n" + - " text: Sed pretium metus et quam. Nullam odio dolor, vestibulum non, tempor ut, vehicula sed, sapien. Vestibulum placerat ligula at quam. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas." - end - end - - it "raises UnknownObjectException if the p doesn't exist" do - lambda { browser.span(:xpath, "//span[@id='no_such_id']").text }.should raise_error(UnknownObjectException) - end - end - end