Skip to content

Commit 03e3903

Browse files
committed
✅ Extra test for #844
1 parent bd3c02e commit 03e3903

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/server_rendered_html_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ def wait_to_ensure_asset_pipeline_detects_changes
118118
# make sure that the items are prerendered
119119
assert_match(/Render this inline/, rendered_html)
120120
assert_match(/<\/ul><\/span>/, rendered_html, 'it accepts a tag override')
121+
# make sure that prerendered items are marked
122+
assert_match(/data-hydrate=\"t\"/, rendered_html)
121123
# make sure that the layout is rendered with the component
122124
assert_match(/<title>Dummy<\/title>/, rendered_html)
123125
# make sure that custom html attributes are rendered

0 commit comments

Comments
 (0)