diff options
author | George Claghorn <george.claghorn@gmail.com> | 2019-01-05 10:41:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-05 10:41:41 -0500 |
commit | 7a88f649da0bd0b8c7534a90b4132cef8d9ec785 (patch) | |
tree | 857111ffc3450e52e54aaf2f159e98608aab5f01 /actiontext/test/template | |
parent | 35ed21bc1600a3687c63781b70f7543ca162997c (diff) | |
parent | 67a9a86b1d69367a3270240dad43bc9825ca80a5 (diff) | |
download | rails-7a88f649da0bd0b8c7534a90b4132cef8d9ec785.tar.gz rails-7a88f649da0bd0b8c7534a90b4132cef8d9ec785.tar.bz2 rails-7a88f649da0bd0b8c7534a90b4132cef8d9ec785.zip |
Merge pull request #34875 from bogdanvlviv/test-actiontext-on-rails-6.0
Test actiontext on Rails 6.0
Diffstat (limited to 'actiontext/test/template')
-rw-r--r-- | actiontext/test/template/form_helper_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/actiontext/test/template/form_helper_test.rb b/actiontext/test/template/form_helper_test.rb index 63ef7f0d7e..a8c7a4dae2 100644 --- a/actiontext/test/template/form_helper_test.rb +++ b/actiontext/test/template/form_helper_test.rb @@ -12,7 +12,6 @@ class ActionText::FormHelperTest < ActionView::TestCase assert_dom_equal \ '<form action="/messages" accept-charset="UTF-8" data-remote="true" method="post">' \ - '<input name="utf8" type="hidden" value="✓" />' \ '<input type="hidden" name="message[content]" id="message_content_trix_input_message" />' \ '<trix-editor id="message_content" input="message_content_trix_input_message" class="trix-content" data-direct-upload-url="http://test.host/rails/active_storage/direct_uploads" data-blob-url-template="http://test.host/rails/active_storage/blobs/:signed_id/:filename">' \ "</trix-editor>" \ @@ -27,7 +26,6 @@ class ActionText::FormHelperTest < ActionView::TestCase assert_dom_equal \ '<form action="/messages" accept-charset="UTF-8" data-remote="true" method="post">' \ - '<input name="utf8" type="hidden" value="✓" />' \ '<input type="hidden" name="message[content]" id="message_content_trix_input_message" />' \ '<trix-editor id="message_content" input="message_content_trix_input_message" class="custom-class" data-direct-upload-url="http://test.host/rails/active_storage/direct_uploads" data-blob-url-template="http://test.host/rails/active_storage/blobs/:signed_id/:filename">' \ "</trix-editor>" \ @@ -42,7 +40,6 @@ class ActionText::FormHelperTest < ActionView::TestCase assert_dom_equal \ '<form action="/messages" accept-charset="UTF-8" data-remote="true" method="post">' \ - '<input name="utf8" type="hidden" value="✓" />' \ '<input type="hidden" name="message[not_an_attribute]" id="message_not_an_attribute_trix_input_message" />' \ '<trix-editor id="message_not_an_attribute" input="message_not_an_attribute_trix_input_message" class="trix-content" data-direct-upload-url="http://test.host/rails/active_storage/direct_uploads" data-blob-url-template="http://test.host/rails/active_storage/blobs/:signed_id/:filename">' \ "</trix-editor>" \ @@ -57,7 +54,6 @@ class ActionText::FormHelperTest < ActionView::TestCase assert_dom_equal \ '<form action="/messages" accept-charset="UTF-8" data-remote="true" method="post">' \ - '<input name="utf8" type="hidden" value="✓" />' \ '<input type="hidden" name="message[content]" id="trix_input_1" />' \ '<trix-editor id="message_content" input="trix_input_1" class="trix-content" data-direct-upload-url="http://test.host/rails/active_storage/direct_uploads" data-blob-url-template="http://test.host/rails/active_storage/blobs/:signed_id/:filename">' \ "</trix-editor>" \ |