Merge pull request #88 from burzum/585160300a174ab4d91a1fff01f586ff80306093

2.0 Fixing loading of plugin tests by adding Inflector::camelize()
This commit is contained in:
José Lorenzo Rodríguez 2011-05-19 13:42:56 -07:00
commit 0cb0b0636d

View file

@ -116,7 +116,7 @@ class CakeFixtureManager {
$pluginName = $parts[1];
$fixture = $parts[2];
$fixturePaths = array(
CakePlugin::path($pluginName) . 'Test' . DS . 'Fixture',
CakePlugin::path(Inflector::camelize($pluginName)) . 'Test' . DS . 'Fixture',
TESTS . 'Fixture'
);
} else {