Merge pull request #17 from Lumbendil/fix-mink-dictionary

Fixed the mink dictionary trait
This commit is contained in:
Christophe Coevoet
2012-07-24 09:15:19 -07:00

View File

@@ -320,7 +320,7 @@ trait MinkDictionary
*/ */
public function assertPageMatchesText($pattern) 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) public function assertPageNotMatchesText($pattern)
{ {
$this->assertSession()->pageTextNotMatches($this->fixStepArgument($text)); $this->assertSession()->pageTextNotMatches($this->fixStepArgument($pattern));
} }
/** /**