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:
parent
05fa9dd9e8
commit
5117a0101b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue