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

- old
+ new

@@ -65,13 +65,9 @@ end it "raises TypeError when 'what' argument is invalid" do expect { browser.frame(id: 3.14).exists? }.to raise_error(TypeError) end - - it "raises MissingWayOfFindingObjectException when 'how' argument is invalid" do - expect { browser.frame(no_such_how: 'some_value').exists? }.to raise_error(Watir::Exception::MissingWayOfFindingObjectException) - end end it "raises UnknownFrameException when accessing elements inside non-existing frame" do expect { browser.frame(name: "no_such_name").p(index: 0).id }.to raise_unknown_frame_exception end