MDL-44236 behat: Fixing wrong old step call

This commit is contained in:
David Monllao 2014-03-12 17:00:20 +08:00 committed by Eloy Lafuente (stronk7)
parent c13854785f
commit ced0f98322

View File

@ -511,7 +511,7 @@ class behat_deprecated extends behat_base {
* @param TableNode $data
*/
public function the_following_exists($elementname, TableNode $data) {
$alternative = 'the following "' . $this->escape($elementname) . '" exist';
$alternative = 'the following "' . $this->escape($elementname) . '" exist:';
$this->deprecated_message($alternative);
return new Given($alternative, $data);
}