MDL-37046 behat: Steps definitions loading

This commit is contained in:
David Monllao
2013-01-29 08:40:36 +08:00
parent 554820dd52
commit 93245e952f
2 changed files with 57 additions and 15 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ class tests_finder {
$regexp = '|'.$sep.'tests'.$sep.'behat'.$sep.'.*\.feature$|';
break;
case 'stepsdefinitions':
$regexp = '|'.$sep.'tests'.$sep.'behat'.$sep.'.*\.php$|';
$regexp = '|'.$sep.'tests'.$sep.'behat'.$sep.'behat_.*\.php$|';
break;
}