MDL-44236 behat: Fixing wrong old step call
authorDavid Monllao <davidm@moodle.com>
Wed, 12 Mar 2014 09:00:20 +0000 (17:00 +0800)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 13 Mar 2014 17:33:27 +0000 (18:33 +0100)
lib/tests/behat/behat_deprecated.php

index edbae93..bed16a9 100644 (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);
     }