diff options
author | Sam Ruby <rubys@intertwingly.net> | 2014-08-27 11:17:01 -0400 |
---|---|---|
committer | Sam Ruby <rubys@intertwingly.net> | 2014-08-27 11:17:01 -0400 |
commit | 16ed2c95ce30fd2e59cc10783130bcaa54726c19 (patch) | |
tree | 9cfcdd156dec4a5455d4e8a0b2d40e000de2f28b | |
parent | f1a5e1520f05c5db74ba1c5031b1e08b3e23a4e2 (diff) | |
download | rails-16ed2c95ce30fd2e59cc10783130bcaa54726c19.tar.gz rails-16ed2c95ce30fd2e59cc10783130bcaa54726c19.tar.bz2 rails-16ed2c95ce30fd2e59cc10783130bcaa54726c19.zip |
[ci skip] mention assert_select in release notes
-rw-r--r-- | guides/source/4_2_release_notes.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md index b2f64453dd..ff73960858 100644 --- a/guides/source/4_2_release_notes.md +++ b/guides/source/4_2_release_notes.md @@ -287,6 +287,19 @@ Please refer to the [Changelog][action-pack] for detailed changes. serving assets from your Rails server in production. ([Pull Request](https://github.com/rails/rails/pull/16466)) +* The way `assert_select` works has changed; specifically a different library + is used to interpret css selectors, build the transient DOM that the + selectors are applied against, and to extract the data from that DOM. These + changes should only affect edge cases. Examples: + * Values in attribute selectors may need to be quoted if they contain + non-alphanumeric characters + * DOMs built from HTML source containing invalid HTML containing improperly + nested elements may differ + * If the data selected contains entities, the value selected for comparison + used to be raw (example: `AT&T`), and now is evaluated + (example: `AT&T`) + + Action View ------------- |