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
1 changed files with 1 additions and 1 deletions

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