spec/alert_spec.rb in watir-webdriver-0.1.3 vs spec/alert_spec.rb in watir-webdriver-0.1.4
- old
+ new
@@ -38,11 +38,11 @@
returned = browser.prompt("my name") do
browser.button(:id => "prompt").click
end
returned.should == {
- :message => "enter your name",
- :default => "John Doe"
+ :message => "enter your name",
+ :default_value => "John Doe"
}
browser.button(:id => "prompt").value.should == "my name"
end
end