LutherSrProject/TapVote — pull request #231 by etingel (2014-04-09 01:01:24+00:00)
Title: Squashed db to save testing time

Prior to resetting the database for each test, it will now only migrate down to the migration we are currently at. Once the database values are re-initialized, it will then migrate back up from where we are today.

This causes the tests to run in a few seconds rather than a minute or so. The downside, however, is that we are now dependent on runQuery not being broken.

Additionally, made db-migrate part of the tests.