From 4de12635e20905643ba4f40e4b28a5923b312b4f Mon Sep 17 00:00:00 2001 From: Roger Llopart Pla Date: Tue, 24 Jul 2012 17:34:25 +0200 Subject: [PATCH] Fixed a rename which was done only partially in the MinkDictionary trait. --- src/Behat/MinkExtension/Context/MinkDictionary.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Behat/MinkExtension/Context/MinkDictionary.php b/src/Behat/MinkExtension/Context/MinkDictionary.php index c8004d4..abe096f 100644 --- a/src/Behat/MinkExtension/Context/MinkDictionary.php +++ b/src/Behat/MinkExtension/Context/MinkDictionary.php @@ -320,7 +320,7 @@ trait MinkDictionary */ public function assertPageMatchesText($pattern) { - $this->assertSession()->pageTextMatches($this->fixStepArgument($text)); + $this->assertSession()->pageTextMatches($this->fixStepArgument($pattern)); } /** @@ -330,7 +330,7 @@ trait MinkDictionary */ public function assertPageNotMatchesText($pattern) { - $this->assertSession()->pageTextNotMatches($this->fixStepArgument($text)); + $this->assertSession()->pageTextNotMatches($this->fixStepArgument($pattern)); } /**