lib/capybara/poltergeist/client/node.coffee in poltergeist-1.4.1 vs lib/capybara/poltergeist/client/node.coffee in poltergeist-1.5.0
- old
+ new
@@ -2,10 +2,10 @@
class Poltergeist.Node
@DELEGATES = ['allText', 'visibleText', 'getAttribute', 'value', 'set', 'setAttribute', 'isObsolete',
'removeAttribute', 'isMultiple', 'select', 'tagName', 'find',
'isVisible', 'position', 'trigger', 'parentId', 'mouseEventTest',
- 'scrollIntoView', 'isDOMEqual', 'isDisabled']
+ 'scrollIntoView', 'isDOMEqual', 'isDisabled', 'deleteText']
constructor: (@page, @id) ->
parent: ->
new Poltergeist.Node(@page, this.parentId())