From 16ed2c95ce30fd2e59cc10783130bcaa54726c19 Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Wed, 27 Aug 2014 11:17:01 -0400 Subject: [ci skip] mention assert_select in release notes --- guides/source/4_2_release_notes.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 ------------- -- cgit v1.2.3