spec/input_spec.rb in watir-webdriver-0.7.0 vs spec/input_spec.rb in watir-webdriver-0.8.0
- old
+ new
@@ -6,9 +6,9 @@
browser.goto WatirSpec.url_for("forms_with_input_elements.html")
end
describe "#type" do
it "returns an email type" do
- expect(browser.input(:name => "html5_email").type).to eq 'email'
+ expect(browser.input(name: "html5_email").type).to eq 'email'
end
end
end