spec/watirspec/elements/forms_spec.rb in watir-6.0.2 vs spec/watirspec/elements/forms_spec.rb in watir-6.0.3

- old
+ new

@@ -4,12 +4,14 @@ before :each do browser.goto(WatirSpec.url_for("forms_with_input_elements.html")) end - describe "with selectors" do - it "returns the matching elements" do - expect(browser.forms(method: "post").to_a).to eq [browser.form(method: "post")] + bug "https://github.com/watir/watir/issues/507" do + describe "with selectors" do + it "returns the matching elements" do + expect(browser.forms(method: "post").to_a).to eq [browser.form(method: "post")] + end end end describe "#length" do it "returns the number of forms in the container" do