From b2b634137402a82a7dfd60b5646dbd0860a822ca Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Mon, 13 May 2019 12:44:06 -0400 Subject: Add ActionDispatch::SystemTestCase#fill_in_rich_text_area --- actiontext/CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'actiontext/CHANGELOG.md') diff --git a/actiontext/CHANGELOG.md b/actiontext/CHANGELOG.md index b165f8b323..9a314db75c 100644 --- a/actiontext/CHANGELOG.md +++ b/actiontext/CHANGELOG.md @@ -1,3 +1,21 @@ +* The `fill_in_rich_text_area` system test helper locates a Trix editor and fills it in with the given HTML: + + ```ruby + # + fill_in_rich_text_area "message_content", with: "Hello world!" + + # + fill_in_rich_text_area "Your message here", with: "Hello world!" + + # + fill_in_rich_text_area "Message content", with: "Hello world!" + + # + # + fill_in_rich_text_area "message[content]", with: "Hello world!" + ``` + + *George Claghorn* Please check [6-0-stable](https://github.com/rails/rails/blob/6-0-stable/actiontext/CHANGELOG.md) for previous changes. -- cgit v1.2.3