default blank hash for text area options
This commit is contained in:
parent
05fa9dd9e8
commit
5117a0101b
|
@ -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 New Issue