aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/connection_management_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* database connections are automatically established after forking.Aaron Patterson2012-02-161-0/+21
| | | | Connection pools are 1:1 with pids.
* use Rack::BodyProxy in activerecord middlewaresSergey Nartimov2012-01-161-3/+5
|
* Move connection resoluion logic to it's own testable class.Aaron Patterson2011-11-281-34/+0
|
* break establish_connection to smaller methodsAaron Patterson2011-11-281-3/+3
|
* adding more tests around database uri parsingAaron Patterson2011-07-211-0/+34
|
* Fix inconsistencies by being polite to the wrapped body. Needed for ↵Steve Hodgkiss2011-06-181-0/+7
| | | | Rack::Sendfile to function properly. See issue #1761.
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
|
* Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-041-1/+1
| | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
* make sure that active connections are not cleared during test when an ↵Aaron Patterson2011-03-291-0/+8
| | | | exception happens
* clearing active connections in the ConnectionManagement middleware if an ↵Aaron Patterson2011-03-291-0/+7
| | | | exception happens
* proxy body responses so we close database connections after body is flushedAaron Patterson2011-03-291-2/+22
|
* make sure we have an active database connection before running each ↵Aaron Patterson2011-03-281-4/+5
| | | | connection management test
* testing app delegation from the ConnectionManagement middlewareAaron Patterson2011-03-281-3/+20
|
* namespacing connection management tests. :heart:Aaron Patterson2011-03-281-18/+22
|
* fixing test file nameAaron Patterson2010-07-161-0/+25