changed from $text to $pattern

This commit is contained in:
Romulo De Lazzari
2012-06-08 18:26:18 +01:00
parent 5ff38df4b9
commit 98e4dacd7a

View File

@@ -243,7 +243,7 @@ class MinkContext extends RawMinkContext implements TranslatedContextInterface
*/ */
public function assertPageMatchesText($pattern) public function assertPageMatchesText($pattern)
{ {
$this->assertSession()->pageTextMatches($this->fixStepArgument($text)); $this->assertSession()->pageTextMatches($this->fixStepArgument($pattern));
} }
/** /**
@@ -253,7 +253,7 @@ class MinkContext extends RawMinkContext implements TranslatedContextInterface
*/ */
public function assertPageNotMatchesText($pattern) public function assertPageNotMatchesText($pattern)
{ {
$this->assertSession()->pageTextNotMatches($this->fixStepArgument($text)); $this->assertSession()->pageTextNotMatches($this->fixStepArgument($pattern));
} }
/** /**