noamt/elasticsearch-grails-plugin — pull request #38 by pinhead (2014-06-16 15:44:12+00:00)
Title: Fix NPE while running application integration tests

NPE is throwing when i added elasticsearch-grails-plugin to my Grails 2.4.0 project and start integration tests.
That is because `application.parentContext` is null in `doWithSpring` closure when application starts in integration test mode. Here is a quick fix for that.