cakephp/cakephp — pull request #1078 by CauanCabral (2013-01-21 19:16:57+00:00)
Title: Accept user-definded datasource when testing

CakePHP override 'ds' option in ClassRegistry::init when test mode is true.
This change keep user-defined option.

Test case added.