Changeset [dc52f07a9f9b8debfd1562c9c119154dd8856e27] by moro
November 18th, 2008 @ 08:37 PM
Link#matches_text?() use @element.text as text
It decodes character references. Userful for multibyte languages(eg. Japanese).
And also uses @element.inner_html to match with HTML (eg.image link) http://github.com/brynary/webrat...
Committed by moro
- M lib/webrat/core/link.rb
- M spec/webrat/core/link_spec.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.