spec/watirspec/elements/button_spec.rb in watir-6.9.1 vs spec/watirspec/elements/button_spec.rb in watir-6.10.0

- old
+ new

@@ -90,13 +90,9 @@ end it "raises TypeError when 'what' argument is invalid" do expect { browser.button(id: 3.14).exists? }.to raise_error(TypeError) end - - it "raises MissingWayOfFindingObjectException when 'how' argument is invalid" do - expect { browser.button(no_such_how: 'some_value').exists? }.to raise_error(Watir::Exception::MissingWayOfFindingObjectException) - end end # Attribute methods describe "#class_name" do it "returns the class name of the button" do