1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Update UPGRADING.md [ci skip]

This commit is contained in:
Thomas Walpole 2018-04-09 11:29:01 -07:00
parent 69372224ab
commit 649d7ba4ca

View file

@ -25,3 +25,6 @@ first('div', minimum: 0)
all('div', wait: false)
```
## Node
`Node#text` no longer fully normalizes whitespace, instead returning text as close as possible to "as rendered". This means non-blanking spaces will no longer be collapsed, carriage returns may be returned in text strings, etc. This affects not only the `Node#text` method but also methods that take a `:text` option as well as the text related predicates, assertions, and matchers (`has_text?`, `has_content?`, `assert_text`, `have_text`, etc.).