diff --git a/src/Turbo/doc/index.rst b/src/Turbo/doc/index.rst index 336145ca68c..4531b3f4cbf 100644 --- a/src/Turbo/doc/index.rst +++ b/src/Turbo/doc/index.rst @@ -284,7 +284,7 @@ Symfony. $client->request('GET', '/'); $client->clickLink('This block is scoped, the rest of the page will not change if you click here!'); - $this->assertSelectorTextContains('body', 'This will replace the content of the Turbo Frame!'); + $this->assertSelectorWillContain('body', 'This will replace the content of the Turbo Frame!'); } }