1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

default blank hash for text area options

This commit is contained in:
Jonas Nicklas 2010-01-30 20:28:45 +01:00
parent 05fa9dd9e8
commit 5117a0101b

View file

@ -75,7 +75,7 @@ module Capybara
xpath = xpath.prepend("//button[@value=#{s(locator)} or text()=#{s(locator)}]")
end
def text_area(locator, options)
def text_area(locator, options={})
add_field(locator, "//textarea", options)
end