amatsuda / database_rewinder

minimalist's tiny and ultra-fast database cleaner
MIT License
807 stars 91 forks source link

Allow reconnection while cleaning inserted tables #14

Closed eagletmt closed 10 years ago

eagletmt commented 10 years ago

When the application uses multiple database connections, a connection pool used in test could be already removed (i.e., pool.connected? = false). In this case, we have to reconnect to the database to clean inserted tables.

amatsuda commented 10 years ago

:v::v: