aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-08-27 10:23:22 -0700
committerZachary Scott <e@zzak.io>2014-08-27 10:23:22 -0700
commit5bcd5a32abf14b371424131dce819139de09c74c (patch)
tree9cfcdd156dec4a5455d4e8a0b2d40e000de2f28b
parentf1a5e1520f05c5db74ba1c5031b1e08b3e23a4e2 (diff)
parent16ed2c95ce30fd2e59cc10783130bcaa54726c19 (diff)
downloadrails-5bcd5a32abf14b371424131dce819139de09c74c.tar.gz
rails-5bcd5a32abf14b371424131dce819139de09c74c.tar.bz2
rails-5bcd5a32abf14b371424131dce819139de09c74c.zip
Merge pull request #16723 from rubys/mention_assert_select_changes
[ci skip] mention assert_select in release notes
-rw-r--r--guides/source/4_2_release_notes.md13
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&amp;T`), and now is evaluated
+ (example: `AT&T`)
+
+
Action View
-------------