collectiveidea/sunspot_test — pull request #15 by dzajic (2012-12-13 16:27:57+00:00)
Title: Fix for minitest

When running a test with minitest, at_exit gets called before the test runs, so the Solr server gets killed too soon. MiniTest >= 2.11.1 has a fix for this. This change lets minitest users take advantage of the fix and prevents the server from dying until after the test is over.