> @@ -21,7 +31,7 @@ class << self
>        # @raise [TimeoutError] if timeout is exceeded
>        #
>  
> -      def until(timeout = 30, message = nil, &block)
> +      def until(timeout = Watir.default_timeout, message = nil, &block)

Regarding the :up: comment, I think it should be changed so:

```ruby
def until(timeout = default_timeout, message = nil, &block)
```

or even

```ruby
def until(timeout = nil, message = nil, &block)
  timeout ||= default_timeout
```


---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/pull/230/files#r7848777
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to