Fixing another bug in detecting fields via XPath

This commit is contained in:
Bryan Helmkamp 2008-11-26 20:47:50 -05:00
parent 4f530cfa29
commit 8770ccb563
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ module Webrat
end
fields_by_type(field_types).detect do |possible_field|
possible_field.path == element.xpath
possible_field.path == expected_path
end
end