Skip to content

Commit

Permalink
Proxy Object should inherit from BasicObject, to avoid clashes with
Browse files Browse the repository at this point in the history
methods on Object. eg present? defined by ActiveSupport
  • Loading branch information
kirillrdy committed Aug 8, 2013
1 parent a4d6342 commit 54a4fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/watir-webdriver/wait.rb
Expand Up @@ -79,7 +79,7 @@ def wait_while(*args, &blk)
# put on hold until the element is present (exists and is visible) on the page.
#

class WhenPresentDecorator
class WhenPresentDecorator < BasicObject
def initialize(element, timeout, message = nil)
@element = element
@timeout = timeout
Expand Down

0 comments on commit 54a4fd8

Please sign in to comment.