spec/watirspec/table_cell_spec.rb in watir-webdriver-0.0.1.dev4 vs spec/watirspec/table_cell_spec.rb in watir-webdriver-0.0.1.dev5
- old
+ new
@@ -24,10 +24,10 @@
browser.cell(:text, 'no_such_text').should_not exist
browser.cell(:text, /no_such_text/).should_not exist
browser.cell(:index, 1337).should_not exist
browser.cell(:xpath, "//td[@id='no_such_id']").should_not exist
end
-
+
it "raises TypeError when 'what' argument is invalid" do
lambda { browser.cell(:id, 3.14).exists? }.should raise_error(TypeError)
end
it "raises MissingWayOfFindingObjectException when 'how' argument is invalid" do