MDL-37046 behat: Refining composer dependencies installation
authorDavid Monllao <davidm@moodle.com>
Wed, 5 Dec 2012 03:46:42 +0000 (11:46 +0800)
committerDavid Monllao <davidm@moodle.com>
Tue, 29 Jan 2013 00:40:37 +0000 (08:40 +0800)
admin/tool/behat/locallib.php

index 138d3f9..ea9f512 100644 (file)
@@ -331,7 +331,7 @@ class tool_behat {
         global $CFG;
 
         // Moodle setting.
-        if (!is_dir($vendor = __DIR__ . '/../../../vendor')) {
+        if (!is_dir($vendor = __DIR__ . '/../../../vendor/behat')) {
 
             $msg = get_string('wrongbehatsetup', 'tool_behat');