UnionOfRAD/lithium — pull request #263 by greut (2012-01-12 21:59:08+00:00)
Title: Integration tests fixes.

I tried to have all the `lithium\tests\integration\data` tests running using a specific data source. These tests need some clean up I'm sure but my secret goal behind that is that know clearly which test runs on which type of connection.

And because `MyModel::meta('connection', 'test');` cannot work (a chicken and egg problem), one model must be created for each type of connections.

```php
'MongoDb',
'host' => 'localhost',
'database' => 'test',
));

Connections::add('lithium_couch_test', array(
'type' => 'http',
'adapter' => 'CouchDb',
'database' => 'test',
));

Connections::add('lithium_mysql_test', array(
'type' => 'database',
'adapter' => 'MySql',
'database' => 'test',
'login' => 'test',
'password' => 'test',
'encoding' => 'utf-8',
));
```