[#257 state:resolved] fixed issue with rails encodd fields in webrat

This commit is contained in:
mike.gaffney 2009-06-02 17:35:29 -05:00
parent bd1655c8e2
commit f8f254d517

View File

@ -41,7 +41,7 @@ module Webrat
webrat_deprecate :visits, :visit
def fill_in(field_identifier, options)
locator = "webrat=#{Regexp.escape(field_identifier)}"
locator = "webrat=#{field_identifier}"
selenium.wait_for_element locator, :timeout_in_seconds => 5
selenium.type(locator, "#{options[:with]}")
end