Ryunosuke SATO
30d5ccc58b
Fix method comments
2013-03-29 11:15:07 +09:00
Jonas Nicklas
415e2db70d
Refactor and document
2013-03-17 15:48:04 +01:00
Andrey Botalov
f3f8f9c104
add tests, fixes according to review comments
2013-03-05 00:35:11 +03:00
Andrey Botalov
3783237c5f
Add count options to has_text
2013-03-04 02:04:23 +03:00
Jonas Nicklas
1ba1110831
Make sure we don't accidentally modify the body
...
Since we don't know where it comes from in the driver. Related to #958
2013-02-20 01:41:21 +01:00
Jonas Nicklas
f0fa707f26
Pull base tag injection into a helper
2013-02-19 23:57:34 +01:00
Ben Cates
8852e4dc20
Replace ugly regex with POSIX class
...
`[[:space:]]` works like `\s` in regexes, except it is encoding aware.
2012-12-31 15:30:35 -05:00
Piotr Krawiec
26e452bc10
Add encoding header to the helpers definition file
...
Fixes "incompatible character encoding" error when running Capybara
on JRuby platforms.
2012-12-05 19:46:50 +01:00
Jo Liss
b2767a8413
Make whitespace normalization Unicode-aware. Fixes #767
...
Also move normalize_whitespace and to_regexp into Capybara::Helpers, and
improve method documentation.
I'm not adding tests for the helpers. I think they're so simple that we
really only care whether they work in conjunction with other methods,
like Node#text.
2012-08-01 13:29:50 +02:00