spec/link_spec.rb in watir-classic-4.1.0 vs spec/link_spec.rb in watir-classic-4.2.0

- old
+ new

@@ -6,9 +6,9 @@ browser.goto(WatirSpec.url_for("non_control_elements.html")) end context "#exists?" do it "finds link by a name" do - browser.a(:name => "bad_attribute").should exist + expect(browser.a(:name => "bad_attribute")).to exist end end end