diff --git a/test/sandbox/test/integration_test.rb b/test/sandbox/test/integration_test.rb index 2f470bf50..d5ff1bdd3 100644 --- a/test/sandbox/test/integration_test.rb +++ b/test/sandbox/test/integration_test.rb @@ -208,7 +208,7 @@ def test_rendering_component_with_a_partial get "/partial" assert_response :success - assert_select("div", "hello,partial world!", count: 2) + assert_select("div", {text: "hello,partial world!", count: 4}) end def test_rendering_component_without_variant