Fix simple nodes to work with new async stuff

This commit is contained in:
Jonas Nicklas 2011-08-12 14:38:52 +02:00
parent ad8e0a4cb6
commit b056efbfa5
1 changed files with 2 additions and 2 deletions

View File

@ -124,8 +124,8 @@ module Capybara
native.xpath(xpath).map { |node| self.class.new(node) }
end
def wait?
false
def wait_until
yield # simple nodes don't need to wait
end
end
end