spec/watirspec/elements/form_spec.rb in watir-6.9.1 vs spec/watirspec/elements/form_spec.rb in watir-6.10.0
- old
+ new
@@ -41,13 +41,9 @@
end
it "raises TypeError when 'what' argument is invalid" do
expect { browser.form(id: 3.14).exists? }.to raise_error(TypeError)
end
-
- it "raises MissingWayOfFindingObjectException when 'how' argument is invalid" do
- expect { browser.form(no_such_how: 'some_value').exists? }.to raise_error(Watir::Exception::MissingWayOfFindingObjectException)
- end
end
describe "#submit" do
it "submits the form" do
browser.form(id: "delete_user").submit