> @@ -110,4 +111,45 @@ def present?
> end
> end
> end
> +
> + describe "Watir.default_timeout" do
> + before do
> + Watir.default_timeout = 1
> +
> + browser.goto WatirSpec.url_for("wait.html", :needs_server => true)
> + end
> +
> + it "is used by Wait#until when no timeout is specified" do
I would say that instead of writing "when no timeout is specified", you can use
context:
```ruby
context "when no timeout is specified" do
it "is used by Wait#until "do
# ...
end
end
```
---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/pull/230/files#r7848832_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development