Skip to content

Commit ac78b1a

Browse files
committed
Merge pull request #87 from MageTest/feature/fix-millers-bc-break
Stop using deprecated method for locating specs
2 parents 71c441f + 25c59b5 commit ac78b1a

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "library",
66
"license": "MIT",
77
"require": {
8-
"phpspec/phpspec": "2.1.0-RC1",
8+
"phpspec/phpspec": "2.1.0-RC3",
99
"symfony/dependency-injection": "*",
1010
"symfony/config": "*",
1111
"shanethehat/pretty-xml": "~1.0.1"

composer.lock

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/MageTest/PhpSpec/MagentoExtension/Locator/Magento/AbstractResourceLocator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ protected function findSpecResources($path)
181181
}
182182

183183
$resources = array();
184-
foreach ($this->filesystem->findPhpFilesIn($path) as $file) {
184+
foreach ($this->filesystem->findSpecFilesIn($path) as $file) {
185185
$specFile = $file->getRealPath();
186186
if ($this->isSupported($specFile)) {
187187
$resources[] = $this->createResourceFromSpecFile($specFile);

0 commit comments

Comments
 (0)